Skip to content
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

allow specification of build-time dependencies on egg_info invokation #4465

Closed
ghost opened this issue May 6, 2017 · 2 comments
Closed

allow specification of build-time dependencies on egg_info invokation #4465

ghost opened this issue May 6, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented May 6, 2017

This is on the roadmap but I couldn't find a specific issue for this, so here it is

@ghost
Copy link
Author

ghost commented May 6, 2017

related: pypa/setuptools#917

@ghost
Copy link
Author

ghost commented Jun 5, 2017

@takluyver

If you have time, please implement the following behavior:

try:
    from setuptools.pep517 import get_build_requires
    requirements = get_build_requires({})
    # Install setup requirements
except Exception as e:
     print(e)

This will comply with pypa/setuptools#1039 and will attempt to install build requirements, but will fail gracefully if unable. It also complies with PEP 517. I think pip 10.0 should at least resolve this issue, even if the full PEP 517 isn't implemented.

@ghost ghost closed this as completed Aug 20, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 15, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants