Skip to content

Commit

Permalink
Merge pull request #55 from dave3d/MakePyProject
Browse files Browse the repository at this point in the history
Add pyproject.toml to make installable with pip
  • Loading branch information
dave3d committed Oct 4, 2023
2 parents a46cdfb + 386d340 commit 589b022
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pyproject.toml
@@ -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="dchen@mail.nih.gov" },
]
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

0 comments on commit 589b022

Please sign in to comment.