Skip to content

Commit

Permalink
add setuptools_scm and remove unconditional rust
Browse files Browse the repository at this point in the history
  • Loading branch information
vishwin committed Oct 5, 2023
1 parent 61bfdce commit d880ed7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,20 @@
requires = [
# The minimum setuptools version is specific to the PEP 517 backend,
# and may be stricter than the version required in `setup.py`
"setuptools>=40.6.0",
"setuptools>=62",
"setuptools_scm[toml]>=8.0",
"wheel",
# Must be kept in sync with the `setup_requirements` in `setup.py`
"cffi>=1.12; platform_python_implementation != 'PyPy'",
"setuptools-rust>=0.11.4",
#"setuptools-rust>=0.11.4",
]
build-backend = "setuptools.build_meta"

[project]
dynamic = ["version"]

[tool.setuptools_scm]

[tool.black]
line-length = 79
target-version = ["py36"]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
try:
setup(
name=about["__title__"],
version=about["__version__"],
#version=about["__version__"],
description=about["__summary__"],
long_description=long_description,
long_description_content_type="text/x-rst",
Expand Down

0 comments on commit d880ed7

Please sign in to comment.