-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch pixl_dcmd from setup.py to pyproject.toml
Describe project and runtime, dev and test dependencies in pyproject.toml. Removed requirements.txt and setup.py. Updated README.md to reflect new installation procedure.
- Loading branch information
Showing
4 changed files
with
43 additions
and
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[project] | ||
name = "pixl_dcmd" | ||
version = "0.0.2" | ||
authors = [ | ||
{ name="PIXL authors" }, | ||
] | ||
description = "DICOM header anonymisation functions" | ||
readme = "README.md" | ||
requires-python = "~=3.9" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3" | ||
] | ||
dependencies = [ | ||
"arrow==1.2.3", | ||
"pydicom==2.4.4", | ||
"pydicom-data", | ||
"logger==1.4", | ||
"pyyaml==6.0", | ||
"requests==2.31.0", | ||
"python-decouple==3.6", | ||
"types-requests~=2.28", | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest==7.4.2", | ||
] | ||
dev = [ | ||
"mypy", | ||
"pre-commit", | ||
"ruff" | ||
] | ||
|
||
[build-system] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.ruff] | ||
extend = "./ruff.toml" | ||
|
||
[tool.ruff.extend-per-file-ignores] | ||
"./tests/**" = ["D100"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.