Broadly speaking, I'm looking for something that behaves much more like npm
or yarn
, surely there must be something better than pip
!
I know that questions should be clear cut and not invite opinionated answers, so here are a list of requirements I have for what I consider a better package manager (lets call it ppm
):
ppm
must be able to access the PyPi repositoryppm
must automatically add installed packages to a "package" file.- It must be possible for someone else to install all the same packages as me given said "package" file.
- It should be possible to easily integrate the dependencies listed in this "package" file into the
setup.py
file so that it easy to then publish the code to PyPi. ppm
should support running custom scripts for example I should be able to type:
>>> ppm run tests
and have it run the (less than memorable) command:
>>> python -m unittest discover -s <test_folder> -p '*_test.py'
or whatever specific test, run, build or packaging command is needed.
So what package managers exist that meet some or all of my requiments? Or what workarounds are available to me that would meet my requirements?