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

pip-compile with no setup.py #1303

Closed
JulienPalard opened this issue Jan 12, 2021 · 1 comment
Closed

pip-compile with no setup.py #1303

JulienPalard opened this issue Jan 12, 2021 · 1 comment
Labels
cli Related to command line interface things enhancement Improvements to functionality feature Request for a new feature setuptools Related to compiling requirements form setup.py

Comments

@JulienPalard
Copy link

What's the problem this feature will solve?

With a mostly empty setup.py, say __import__("setuptools").setup(), and all requirements in setup.cfg, pip-compile setup.py works as expected.

But this mostly empty setup.py less and less usefull, as it's allowed to not have one since setuptools 40.0.9 while using PEP517/518 builds.

But without this setup.py I think we have no way to tell pip-compile: "Generate a requirements.txt for this given project.".

Describe the solution you'd like

I think it would be great to allow something like pip-compile PATH with a path to a project, like . for the current project.

@webknjaz webknjaz added cli Related to command line interface things enhancement Improvements to functionality feature Request for a new feature setuptools Related to compiling requirements form setup.py labels Jan 12, 2021
@JulienPalard
Copy link
Author

Duplicate of #1047.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to command line interface things enhancement Improvements to functionality feature Request for a new feature setuptools Related to compiling requirements form setup.py
Projects
None yet
Development

No branches or pull requests

2 participants