You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/shipping/packaging.rst
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,37 @@ x y z
20
20
Personal PyPi
21
21
-------------
22
22
23
+
If you want to install packages from a source different from PyPI, (say, if
24
+
your packages are *proprietary*), you can do it by hosting a simple http server,
25
+
running from the directory which holds those packages which need to be installed.
26
+
27
+
**Showing an example is always benificial**
28
+
29
+
Say if you are after installing a package called MyPackage.tar.gz, and assuming this is your directory structure
30
+
31
+
32
+
- archive
33
+
- MyPackage
34
+
- MyPackage.tar.gz
35
+
36
+
Go to your command prompt and type:
37
+
::
38
+
39
+
$ cd archive
40
+
$ python -m SimpleHTTPServer 9000
41
+
42
+
This runs a simple http server running on port 9000 and will list down all packages(like **MyPackage**). Now you can install **MyPackage** using any python package installer. Using Pip, you would do it like:
0 commit comments