-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move build system over to poetry (#876)
- Loading branch information
1 parent
4972781
commit 07af4c8
Showing
12 changed files
with
1,405 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,89 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
build_backend = "setuptools.build_meta" | ||
requires = ["poetry-core >=1.8,<2"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
|
||
[tool.poetry] | ||
authors = [ | ||
"pynetdicom contributors" | ||
] | ||
classifiers=[ | ||
"License :: OSI Approved :: MIT License", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Healthcare Industry", | ||
"Intended Audience :: Science/Research", | ||
"Development Status :: 5 - Production/Stable", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Operating System :: OS Independent", | ||
"Topic :: Scientific/Engineering :: Medical Science Apps.", | ||
"Topic :: Software Development :: Libraries", | ||
] | ||
description = "A Python implementation of the DICOM networking protocol" | ||
documentation = "https://pydicom.github.io/pynetdicom" | ||
homepage = "https://github.com/pydicom/pynetdicom" | ||
include = [ | ||
"pynetdicom/tests/cert_files/*", | ||
"pynetdicom/tests/dicom_files/*", | ||
"pynetdicom/apps/qrscp/default.ini", | ||
"pynetdicom/py.typed", | ||
|
||
"LICENCE", | ||
] | ||
|
||
keywords = ["dicom", "networking", "pydicom"] | ||
license = "MIT" | ||
maintainers = [ | ||
"scaramallion <[email protected]>", | ||
] | ||
name = "pynetdicom" | ||
readme = "README.rst" | ||
version = "2.2.0.dev0" | ||
|
||
|
||
[tool.poetry.dependencies] | ||
pydicom = "~2.4" | ||
python = "^3.10" | ||
|
||
# Optional dependencies | ||
asv = { version = "^0.6", optional = true } | ||
black = { version = "^23.1", optional = true } | ||
codespell = { version = "^2.2", optional = true } | ||
coverage = { version = "^7.3", optional = true } | ||
flake8 = { version = "^6.1", optional = true } | ||
mypy = { version = "^1.6", optional = true } | ||
numpydoc = { version = "^1.6", optional = true } | ||
pyfakefs = { version = "^5.3", optional = true } | ||
pytest = { version = "^7.4", optional = true } | ||
sphinx = { version = "^7.2", optional = true } | ||
sphinx-copybutton = { version = "^0.5", optional = true } | ||
sphinx-rtd-theme = { version = "^1.3", optional = true } | ||
sqlalchemy = { version = "^2.0", optional = true } | ||
|
||
|
||
[tool.poetry.extras] | ||
apps = ["sqlalchemy"] | ||
dev = ["asv", "black", "codespell", "coverage", "flake8", "mypy", "pyfakefs", "pytest", "sqlalchemy"] | ||
docs = ["numpydoc", "sphinx", "sphinx-copybutton", "sphinx-rtd-theme"] | ||
tests = ["pyfakefs", "pytest", "sqlalchemy"] | ||
|
||
|
||
[tool.poetry.scripts] | ||
echoscp = "pynetdicom.apps.echoscp.echoscp:main" | ||
echoscu = "pynetdicom.apps.echoscu.echoscu:main" | ||
findscu = "pynetdicom.apps.findscu.findscu:main" | ||
getscu = "pynetdicom.apps.getscu.getscu:main" | ||
movescu = "pynetdicom.apps.movescu.echoscp:main" | ||
qrscp = "pynetdicom.apps.qrscp.qrscp:main" | ||
storescp = "pynetdicom.apps.storescp.storescp:main" | ||
storescu = "pynetdicom.apps.storescu.storescu:main" | ||
|
||
|
||
[tool.black] | ||
exclude = ".venv|build|/_.*_dict.py$" | ||
force-exclude = ".venv|/_.*_dict.py$" | ||
|
||
|
||
[tool.coverage.run] | ||
|
@@ -13,7 +96,7 @@ omit = [ | |
|
||
|
||
[tool.mypy] | ||
python_version = "3.9" | ||
python_version = "3.10" # use the minimum supported Python version | ||
exclude = [ | ||
"pynetdicom/tests", | ||
"pynetdicom/apps", | ||
|
This file was deleted.
Oops, something went wrong.