-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pyproject.toml to make installable with pip
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=7.1"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "dicom2stl" | ||
authors = [ | ||
{ name="David Chen", email="[email protected]" }, | ||
] | ||
description = "A script to extract an STL surface mesh from a DICOM volume image." | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
] | ||
dynamic = ["dependencies", "version"] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/dave3d/dicom2stl" | ||
"Bug Tracker" = "https://github.com/dave3d/dicom2stl" | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = {file = ["requirements.txt"]} | ||
|
||
[project.scripts] | ||
comment_spell_check = "dicom2stl:main" | ||
|
||
[tool.setuptools_scm] | ||
local_scheme = "dirty-tag" | ||
|
||
[tool.flake8] | ||
max-line-length = 88 | ||
ignore = ['E203', 'W503'] | ||
max_complexity = 25 |