Skip to content

Grammar and spelling fixes in packaging.rst #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 23, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/shipping/packaging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Packaging your code is important.
For Python Developers
:::::::::::::::::::::

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.
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.



Expand All @@ -17,14 +17,14 @@ Pip vs. easy_install
Use pip. More details `here <http://stackoverflow.com/questions/3220404/why-use-pip-over-easy-install>`_


Personal PyPi
Personal PyPI
-------------

If you want to install packages from a source different from PyPI, (say, if
your packages are *proprietary*), you can do it by hosting a simple http server,
running from the directory which holds those packages which need to be installed.

**Showing an example is always benificial**
**Showing an example is always beneficial**

Say if you are after installing a package called MyPackage.tar.gz, and assuming this is your directory structure

Expand All @@ -39,14 +39,14 @@ Go to your command prompt and type:
$ cd archive
$ python -m SimpleHTTPServer 9000

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:
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:
::

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

Remember! having a folder with the same name as the package name is **crucia** here.
Having a folder with the same name as the package name is **crucial** here.
I got fooled by that, one time. But if you feel that creating a folder called
**MyPackag** and keeping **MyPackage.tar.gz** inside that, is *reduntant*, you can still install MyPackage using:
**MyPackage** and keeping **MyPackage.tar.gz** inside that, is *redundant*, you can still install MyPackage using:
::

$ pip install http://127.0.0.1:9000/MyPackage.tar.gz
Expand All @@ -59,7 +59,7 @@ For Linux Distributions
::::::::::::::::::::::::

Useful Tools
````````````
------------

- epm
- alien
- alien