I'm confused about these two libraries. In the same project does it make sense having both pipenv
and setuptools
? I'm writing a cli in click
and using setuptools
simplify the life. Also managing dependencies with pipenv
simply the life.
Asked
Active
Viewed 131 times
2

Mazzy
- 13,354
- 43
- 126
- 207
-
1so what is the problem? why doesn't it make sense to you to have both? – depperm Oct 06 '17 at 12:33
-
Because I need to mantain in two different places a list of dependencies that my project use and of course they are not in sync together automatically – Mazzy Oct 06 '17 at 12:34
1 Answers
1
pipenv
can import dependencies from setuptools
style setup.py
files. It does so when called as: pipenv install -e .
In a Pipfile
this looks like:
[packages]
"YourPackageName" = {path = ".", editable = true}

Jan Zerebecki
- 825
- 7
- 18