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 install doesn't work #5

Open
ekohl opened this issue May 23, 2023 · 0 comments
Open

pip install doesn't work #5

ekohl opened this issue May 23, 2023 · 0 comments

Comments

@ekohl
Copy link

ekohl commented May 23, 2023

When running pip install -e . in a clean virtualenv it doesn't work because click is not installed.

The root cause is importing the main app in the setup file:

from twcli import APP_VERSION

This pulls in the entire application, including click. A possible solution is to store that in twcli/version.py and import it from there. Both in setup.py and twcli/__init__.py.

A workaround is to first run pip install -r requirements.txt and then pip install -e .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant