-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Learning Python Application Development
By :
This section will briefly cover how to setup a private PyPI repository. The discussion will be limited to creating a simple HTTP-based local server. There are several packages that can help you do this. Let's use a popular package called pypiserver (https://pypi.python.org/pypi/pypiserver). Let's open a terminal window and get ready for action.
First, install the required package:
$ pip install pypiserver
The pypi-server executable sits at the same location that you have the Python executable. For example, if you have /usr/bin/python, pypi-server will be available as /usr/bin/pypi-server.
Go to the directory where you have setup.py and all other files. In the discussion earlier, we named it testgamepkg:
$ cd /path/to/testgamepkg
We have already installed testgamepkg in an earlier section. To simplify things, in setup.py let's change the name field to something...