Closed robertodr closed 5 years ago
One way would be to put everything into setup.py
but then the user will pull in dependencies they don't need.
Probably we will need two places. But we should try to remove explicit dependencies from the CI recipe files.
Possible solutions:
setup.py
and do pip install -e .
on CI. Drawback:
pytest
and company.Pipfile
to install development tools like the language server and mypy.pipenv install --dev -e .
. Drawback: CI runs in virtual environment already.
- On CI do
pipenv install --dev -e .
. Drawback: CI runs in virtual environment already.
I am not sure I see the problem with this approach.
Actually, no drawbacks, just a warning from Pipenv that it will not create a new virtual environment.
We have dependencies for development (specified in
Pipfile
), testing (installed withpip
on CI services, see the YAML files), and deployment (installed withpip install parselglossy
). This is problematic as we can easily lose track of dependencies in this way.