Skip to content

Commit

Permalink
Add pyproject.toml to make installable with pip
Browse files Browse the repository at this point in the history
  • Loading branch information
dave3d committed Oct 4, 2023
1 parent a46cdfb commit 386d340
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pyproject.toml
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

0 comments on commit 386d340

Please sign in to comment.