Skip to content

Commit

Permalink
minor updates to Python build files
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Aug 16, 2023
1 parent 7a9148d commit 06ae60f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
[build-system]
# We need setup.cfg support, which setuptools indtroduced in 30.3.0.
requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm", "pybind11[global]==2.11.1"]
requires = [
"setuptools>=30.3.0",
"wheel",
"setuptools_scm",
"pybind11[global]==2.11.1",
]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
write_to = "fwdpy11/_version.py"
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ classifiers =
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)

[options]
packages = fwdpy11
zip_safe = False # https://mypy.readthedocs.io/en/latest/installed_packages.html
include_package_data = True
python_requires = >=3.8, <3.12
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,4 @@ def build_extension(self, ext):
cmdclass={"build_ext": CMakeBuild},
packages=PKGS,
package_data=generated_package_data,
zip_safe=False,
)

0 comments on commit 06ae60f

Please sign in to comment.