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 generates setup.txt by given explicitly setup.py in a source file #730

Closed
atugushev opened this issue Feb 6, 2019 · 0 comments
Labels
bug Something is not working

Comments

@atugushev
Copy link
Member

There is a possible wrong behavior on a command pip-compile setup.py, because it generates setup.txt file instead of requirements.txt.

Environment Versions
  1. OS Type: Any (tested on MacOSX)
  2. Python version: 3.7.x
  3. pip version: 19.1
  4. pip-tools version: 3.3.2
Steps to replicate
  1. Prepare a setup.py file:
cat << EOF > setup.py
from setuptools import setup
setup(install_requires=[])
EOF
  1. Run: pip-compile setup.py
Expected result
#
# This file is autogenerated by pip-compile
# To update, run:
#
#    pip-compile --output-file requirements.txt setup.py
#
Actual result
#
# This file is autogenerated by pip-compile
# To update, run:
#
#    pip-compile --output-file setup.txt setup.py
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
None yet
Development

No branches or pull requests

1 participant