Skip to content

Commit 0d403d0

Browse files
committed
proper package name for build; pypi-compatible scm_version config
1 parent d8b26a2 commit 0d403d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
with:
5252
python-version: ${{ matrix.python-version }}
5353

54-
- run: pip install pytest nbconvert ipython ipykernel python-build
54+
- run: pip install pytest nbconvert ipython ipykernel build
5555

5656
- run: DEBUG=1 VERBOSE=1 pip install --verbose -e .
5757

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def build_extension(self, ext): # pylint: disable=too-many-branches
124124
# logic and declaration, and simpler if you include description/version in a file.
125125
setup(
126126
name="PyPartMC",
127-
use_scm_version=True,
127+
use_scm_version={"local_scheme": "no-local-version", "version_scheme": "post-release"},
128128
author="Sylwester Arabas",
129129
author_email="[email protected]",
130130
description="Python interface to PartMC",

0 commit comments

Comments
 (0)