-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable install through pyproject.toml #399
Comments
Should also consider moving the bulk of |
Just drop in a [build-system]
requires = [
"setuptools >= 41.0.0",
"setuptools_scm >= 1.15.0",
"setuptools_scm_git_archive >= 1.0",
"wheel",
]
build-backend = "setuptools.build_meta" |
Given PR #455 this Twitter thread from @bskinn will probably be useful in the future for doing this properly. |
This mostly hit |
It's not the same: tox updates pip to the latest version and the workaround to this is quite non-trivial for tox specifically :) |
Huh. It must be a particular style of tox usage, because my tox works fine for two different projects, using it for factorial testing of dependency matrices. |
You'll hit the bug only if you have a combo of |
The workaround, for now, is smth like this: ansible/molecule#2009 |
Interesting... what's the use case for an editable install inside a tox environment? Post-install inspection/meddling? |
Just for development purposes. By default, tox doesn't reinstall the env. Unless you make it. |
Description
Given PEP 518 it would be nice to have the ability to install pyhf through the
pyproject.toml
(which already exists since PR #322) as an alternative (...or in the future a replacement) to using thesetup.py
withpip
. This would also allow installation with dependency managers like Poetry.The text was updated successfully, but these errors were encountered: