Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install a PyPi equivalent from scratch?

Tags:

python

pypi

I need to build an internal python package index server, starting from scratch. In house right now we use Python 2.6 and 2.7, and prefer installing packages using pip.

We don't require authentication, but it would help.

What's the easiest way to get a PyPi equivalent running internally?

I am aware of the existence of mypypi, djangopypi, Plone Software Center, and EggBasket, but I have not been able to find a simple clear set of steps to set one of these up in a modern environment; the most recent complete docs I found for any of them seemed to be Tarek Ziade's 2008 blog article on them but it's not clear how up to date that is (and that seems to pull in a huge dependency tree, to boot).

tldr; what's the best PyPi implementation, and how do I install it + configure it?

like image 691
Chris R Avatar asked Jan 24 '11 21:01

Chris R


People also ask

How do I install PyPI?

Installing Python pip on your system allows you to manage PyPI packages easily. Many of these packages can be installed just by typing python -m pip install <package-name> into a terminal or command-line. Newer versions of Python 3 (3.4 and higher) and Python 2 (2.7. 9 and higher) come preloaded with pip.

Is pip the same as PyPI?

pip is the de facto package manager in the Python world. It can install packages from many sources, but PyPI is the primary package source where it's used. When installing packages, pip will first resolve the dependencies, check if they are already installed on the system, and, if not, install them.

What can I use instead of pip install?

npm, Homebrew, Yarn, RequireJS, and Bower are the most popular alternatives and competitors to pip.


1 Answers

Best is a relative term but I myself created ClueReleaseManager to deal with this need locally - http://pypi.python.org/pypi/ClueReleaseManager

like image 116
Rocky Burt Avatar answered Sep 25 '22 02:09

Rocky Burt