I don't see much reason to use pip over pipenv. Pipenv calls pip internally, but it handles much more use cases.
Re:Pip 10 has been released
by cup-of-tea on Saturday April 14, 2018 @04:59PM
(#16839470)
I hope not. Pipenv seems like a good idea but I can't stand the interface. It seems that whenever a Mac user tries to implement a CLI tool they can't help but print verbose output by default, in various colours and with emojis scattered throughout. Pip itself has just enough output, I don't need to see every single thing the program does in different colours, just shut up and do what you're told.
Pipenv adds extra baggage and is more complex to use for simple projects. I really like Pip's dead simple interface and that it won't break due to a joke:
Re:Pip 10 has been released
by ubernostrum on Saturday April 14, 2018 @05:26PM
(#16839603)
The tl;dr:
* pip is the tool for installing packages
* pipenv is the tool for managing an environment in which you develop a package (and wraps pip and virtualenv to make that convenient)
* twine is the tool for uploading packages to the Python Package Index
pip, pipenv, pipfile, pipfile.lock, twine, project.toml, setup.py, setup.cfg, setuptools, requirements.txt... I'd prefer a proper package manager.
Re:Pip 10 has been released
by ubernostrum on Sunday April 15, 2018 @01:18AM
(#16841356)
So build one. If it's good, people will use it!
Luckily I don't have to! I rather contribute to this, which looks promising:
Oh man I did not know this existed I am completely aligned with this.
Easily this is what I love About the python community is that so many awesome folks just step up and do something when they seen deficiencies vs waiting for someone else to get around to it (lookin at you Swift)
I myself am prototyping a tool chain that will compile python to static C code and then compile that (with the interpreter embedded) into a binary that can be easily distributed.
Nothing on GitHub yet but it’s what I hope one day soon will fix the distribution story once and for all!
Re:Pip 10 has been released
by BerislavLopac on Sunday April 15, 2018 @02:07PM
(#16843947)
I'd love to see something like what you're describing, but why C? How about Rust or something similar, closer to Python's paradigms?
Re:Pip 10 has been released
by fizzybeetle on Saturday April 14, 2018 @01:53PM
(#16838483)
They're complementary (I'd say) :)
On another note: I thought Pipenv was going to supplant pip? https://packaging.python.org/tutorials/managing-dependencies... It felt like they were gearing up for it to be that way anyways