Skip to content

Commit

Permalink
Add setuptools to install_requires (#2720)
Browse files Browse the repository at this point in the history
When installing a pre-built wheel in a venv on Python 3.12, calling
`nrniv` fails because the wrapper script uses `setuptools` for some
functionality, so it should also be added as a runtime dependency.
  • Loading branch information
JCGoran authored Feb 9, 2024
1 parent 17bd2c8 commit 2813450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ def setup_package():
else "node-and-date"
},
cmdclass=dict(build_ext=CMakeAugmentedBuilder, docs=Docs),
install_requires=["numpy>=1.9.3", "packaging", "find_libpython"],
install_requires=["numpy>=1.9.3", "packaging", "find_libpython", "setuptools"],
tests_require=["flake8", "pytest"],
setup_requires=["wheel", "setuptools_scm"]
+ maybe_docs
Expand Down

0 comments on commit 2813450

Please sign in to comment.