I use pip bundle
for my production systems, and today I was greeted with the following disheartening message:
###############################################
## ##
## Due to lack of interest and maintenance, ##
## 'pip bundle' and support for installing ##
## from *.pybundle files is now deprecated, ##
## and will be removed in pip v1.5. ##
## ##
###############################################
My servers auto-scale and build themselves out automatically, but I've been burned before by relying on PyPi being available. Instead, I use pip bundle
and commit the .pybundle file to the source git repo. This means I only need to rely on a single source for building my servers.
With pip bundle
going away (and who knows when) I need an alternative method to use - are there any suggestions or similar methods of packaging up dependencies for production distribution?
Thanks!
Use the new wheel format;
wheel
builds onpip
to bundle packages into a ZIP format.Alternatively, you could install an egg proxy; we use Buildout together with a local egg proxy to manage package dependencies and versioning in development and production enviroments.
Use pip-bundle, it does pretty the same:
instead of
you write: