Skip to content

pip install doesn't work #5

Description

@ekohl

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 .

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions