Skip to content

pip install doesn't work #5

@ekohl

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 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions