Skip to content

Commit 18cae70

Browse files
committed
lines less than 80 chars in /shipping/
1 parent db0f65a commit 18cae70

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

docs/shipping/packaging.rst

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ You'll need to package your code first before sharing it with other developers.
88
For Python Developers
99
:::::::::::::::::::::
1010

11-
If you're writing an open source Python module, `PyPI <http://pypi.python.org>`_, more properly known as *The Cheeseshop*, is the place to host it.
11+
If you're writing an open source Python module, `PyPI <http://pypi.python.org>`_,
12+
more properly known as *The Cheeseshop*, is the place to host it.
1213

1314

1415

@@ -27,7 +28,8 @@ running from the directory which holds those packages which need to be installed
2728

2829
**Showing an example is always beneficial**
2930

30-
Say if you are after installing a package called MyPackage.tar.gz, and assuming this is your directory structure
31+
Say if you are after installing a package called MyPackage.tar.gz, and
32+
assuming this is your directory structure:
3133

3234

3335
- archive
@@ -40,22 +42,27 @@ Go to your command prompt and type:
4042
$ cd archive
4143
$ python -m SimpleHTTPServer 9000
4244

43-
This runs a simple http server running on port 9000 and will list all packages (like **MyPackage**). Now you can install **MyPackage** using any python package installer. Using Pip, you would do it like:
45+
This runs a simple http server running on port 9000 and will list all packages
46+
(like **MyPackage**). Now you can install **MyPackage** using any python
47+
package installer. Using Pip, you would do it like:
4448
::
4549

4650
$ pip install --extra-index-url=http://127.0.0.1:9000/ MyPackage
4751

4852
Having a folder with the same name as the package name is **crucial** here.
4953
I got fooled by that, one time. But if you feel that creating a folder called
50-
**MyPackage** and keeping **MyPackage.tar.gz** inside that, is *redundant*, you can still install MyPackage using:
54+
**MyPackage** and keeping **MyPackage.tar.gz** inside that, is *redundant*,
55+
you can still install MyPackage using:
5156
::
5257

5358
$ pip install http://127.0.0.1:9000/MyPackage.tar.gz
5459

5560
Chishop
5661
+++++++
5762

58-
`Chishop <https://github.com/benliles/djangopypi>`_ is a simple PyPI server written in django which allows you to register/upload with distutils and install with easy_install/pip.
63+
`Chishop <https://github.com/benliles/djangopypi>`_ is a simple PyPI server
64+
written in django which allows you to register/upload with distutils and
65+
install with easy_install/pip.
5966

6067
For Linux Distributions
6168
::::::::::::::::::::::::

0 commit comments

Comments
 (0)