Skip to content

Commit

Permalink
replace setup.py with pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz-Alexander-Kern committed Dec 14, 2023
1 parent 1fd9481 commit 6577495
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 40 deletions.
43 changes: 43 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[build-system]
requires = ["setuptools >= 61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "viziphant"
dynamic = [
"version",
"dependencies",
"optional-dependencies"]
description = "Viziphant is a package for the visualization of the analysis results of electrophysiology data in Python"
license = {file = "LICENSE.txt"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English", "Operating System :: OS Independent",
'Programming Language :: Python :: 3',
"Topic :: Scientific/Engineering"]
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">= 3.8"

[project.urls]
Homepage = "https://github.com/INM-6/viziphant"
Documentation = "https://viziphant.readthedocs.io/en/latest/"
Repository = "https://github.com/INM-6/viziphant"
Issues = "https://github.com/INM-6/viziphant/issues"
Changelog = "https://github.com/INM-6/viziphant/releases"

[tool.setuptools.dynamic.optional-dependencies]
docs = {file = ["requirements/requirements-docs.txt"]}
tests = {file = ["requirements/requirements-tests.txt"]}

[tool.setuptools.dynamic]
version = {file = "viziphant/VERSION"}
dependencies = {file = ["requirements/requirements.txt"]}

[tool.setuptools]
packages = ["viziphant", "viziphant.test"]


# This file was created following this guide:
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#writing-pyproject-toml
40 changes: 0 additions & 40 deletions setup.py

This file was deleted.

0 comments on commit 6577495

Please sign in to comment.