Skip to content

Commit

Permalink
Update package names in setup.py files to match binary distribution f…
Browse files Browse the repository at this point in the history
…ormat that is required on PyPI (#509)

Co-authored-by: Sylwester Arabas <sylwester.arabas@agh.edu.pl>
  • Loading branch information
AgnieszkaZaba and slayoo authored Mar 9, 2025
1 parent 3a08024 commit 2c72cf7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 13 deletions.
7 changes: 7 additions & 0 deletions examples/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[tool.setuptools_scm]
root = ".."
local_scheme = "no-local-version"
version_scheme = "post-release"

[build-system]
requires = ['setuptools==75.8.2', 'setuptools-scm==8.2.0']
8 changes: 1 addition & 7 deletions examples/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,9 @@ def get_long_description():
CI = "CI" in os.environ

setup(
name="PyMPDATA-examples",
name="pympdata-examples",
description="PyMPDATA usage examples reproducing results from literature"
" and depicting how to use PyMPDATA in Python from Jupyter notebooks",
use_scm_version={
"local_scheme": lambda _: "",
"version_scheme": "post-release",
"root": "..",
},
setup_requires=["setuptools_scm"],
install_requires=[
"PyMPDATA",
"open-atmos-jupyter-utils",
Expand Down
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[tool.isort]
profile = "black"

[tool.setuptools_scm]
local_scheme = "no-local-version"
version_scheme = "post-release"

[build-system]
requires = ['setuptools==75.3.0', 'setuptools-scm==8.1.0']
7 changes: 1 addition & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,9 @@ def get_long_description():
_32bit = platform.architecture()[0] == "32bit"

setup(
name="PyMPDATA",
name="pympdata",
description="Numba-accelerated Pythonic implementation of MPDATA "
"with examples in Python, Julia, Rust and Matlab",
use_scm_version={
"local_scheme": "no-local-version",
"version_scheme": "post-release",
},
setup_requires=["setuptools_scm"],
install_requires=[
"numba"
+ (
Expand Down

0 comments on commit 2c72cf7

Please sign in to comment.