Skip to content

Commit

Permalink
deprecate use of setuptools_scm which is problematic with cibuildwheels.
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed Jan 2, 2024
1 parent 46eb56d commit ece4894
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ or
$ LD_PRELOAD=$(clang -print-file-name=libclang_rt.asan-x86_64.so) python FILE.py
```

### Releasing

* bump version in `setup.py`
* tag it: `git tag vX.Y.`
* push tag: `git push --tags`


## TODO

Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[build-system]
requires = [
"setuptools>=45",
"setuptools>=42",
"wheel",
"setuptools_scm[toml]>=6.0",
"pybind11>=2.10.0",
]
build-backend = "setuptools.build_meta"
Expand All @@ -13,9 +12,8 @@ line-length = 140
[project]
name = "jagger"

# Use setuptools_scm https://github.com/pypa/setuptools_scm to set version.
# look into version in setuo.py
dynamic = ["version"]
# version = "0.1.10"

readme = {file = "README.md", content-type = "text/markdown"}

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
setup(
name="jagger",
packages=['jagger'],
version="v0.1.14",
ext_modules=ext_modules,
long_description=open("./README.md", 'r', encoding='utf8').read(),
long_description_content_type='text/markdown',
Expand Down

0 comments on commit ece4894

Please sign in to comment.