Skip to content

Commit

Permalink
Move setuptools_scm to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
eleftherioszisis committed Feb 22, 2022
1 parent 7a0bf02 commit cf99677
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
"wheel",
"setuptools_scm>=6.2",
]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
# this is equivalent to use_scm_version=True
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@

setup(
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
name="vascpy",
description="Vasculature API",
Expand Down Expand Up @@ -49,6 +52,5 @@
packages=find_packages(),
entry_points={"console_scripts": ["vascpy = vascpy.cli:app"]},
include_package_data=True,
use_scm_version=True,
python_requires=">=3.7",
)

0 comments on commit cf99677

Please sign in to comment.