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
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,35 @@ 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
+
30
+
Say if you are after installing a package called MyPackage.tar.gz, and assuming this is your directory structure
31
+
32
+
- archive
33
+
- MyPackage
34
+
- MyPackage.tar.gz
35
+
36
+
Go to your command prompt and type:
37
+
38
+
$ cd archive
39
+
$ python -m SimpleHTTPServer 9000
40
+
41
+
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. Say using Pip, you would do it like:
0 commit comments