Skip to content

Commit

Permalink
another try at fixing setuptools_scm
Browse files Browse the repository at this point in the history
  • Loading branch information
joezuntz committed Feb 24, 2023
1 parent 85b07c0 commit efdf7eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- name: Build wheel and source tarball
run: |
python setup.py sdist
python -m build
- name: Publish to PyPI
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires = [
"setuptools>=61.0",
"wheel",
"setuptools-scm",
"setuptools_scm[toml]>=6.2",
]

build-backend = "setuptools.build_meta"
Expand Down Expand Up @@ -35,6 +35,7 @@ dependencies =[

[tool.setuptools_scm]
# This activates use_scm_version to get the version number from git tags.
write_to = "ceci/_version.py"

[tool.setuptools]
packages = [
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
import setuptools_scm
from setuptools import setup
setup()

0 comments on commit efdf7eb

Please sign in to comment.