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

Feature Request: API for use in setup.py #928

Closed
c17r opened this issue Oct 17, 2017 · 4 comments
Closed

Feature Request: API for use in setup.py #928

c17r opened this issue Oct 17, 2017 · 4 comments
Labels
Category: Future Issue is planned for the future. Type: Enhancement 💡 This is a feature or enhancement request.

Comments

@c17r
Copy link
Contributor

c17r commented Oct 17, 2017

In an effort to reduce duplication it would be nice if setup.py could get the install_requires items from an API.

For a library where you want to be a little loose with the requirements (i.e. non-pinned)

# setup.py
from pipenv.api import install_requirements

setup(
    install_requires=install_requirements()
)

For an application distributed via setup.py, a little tighter

# setup.py
from pipenv.api import install_requirements

setup(
    install_requires=install_requirements(pinned=True)
)
@erinxocon
Copy link
Contributor

This remindes me of npm and node a bit. I think it's a feature we can consider but not one that will want implement soon.

@erinxocon erinxocon added Type: Enhancement 💡 This is a feature or enhancement request. Category: Future Issue is planned for the future. labels Oct 18, 2017
@erinxocon
Copy link
Contributor

closing with a tag for now so we can keep track of future enhancements. Just trying to clear some of the issues out and sort them.

@tony
Copy link

tony commented Nov 24, 2017

Related: #209 #689

@flypenguin
Copy link

shoot, that would be SO nice :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Future Issue is planned for the future. Type: Enhancement 💡 This is a feature or enhancement request.
Projects
None yet
Development

No branches or pull requests

4 participants