summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-04-10 03:34:54 -0700
committerSteve Piercy <web@stevepiercy.com>2016-04-10 03:34:54 -0700
commit08eecf8ad0807490260078c3c3798e6b559d4c9b (patch)
tree1bb97e0bbacf07889a4022b0bbc14353abc3fc73 /docs
parentf22be11b2781750ae9ab4885c4e94ca33c048bb5 (diff)
parentbad5f37c641a90a09674304d124f9e17e61dec31 (diff)
downloadpyramid-08eecf8ad0807490260078c3c3798e6b559d4c9b.tar.gz
pyramid-08eecf8ad0807490260078c3c3798e6b559d4c9b.tar.bz2
pyramid-08eecf8ad0807490260078c3c3798e6b559d4c9b.zip
Merge pull request #2463 from stevepiercy/docs/easy-install-to-pip.2104
update wiki/distributing.rst to use pip
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorials/wiki/distributing.rst13
1 files changed, 6 insertions, 7 deletions
diff --git a/docs/tutorials/wiki/distributing.rst b/docs/tutorials/wiki/distributing.rst
index fe3332a52..a7ea601ee 100644
--- a/docs/tutorials/wiki/distributing.rst
+++ b/docs/tutorials/wiki/distributing.rst
@@ -12,13 +12,13 @@ a :app:`Pyramid` environment.
On UNIX:
-.. code-block:: text
+.. code-block:: bash
$ $VENV/bin/python setup.py sdist
On Windows:
-.. code-block:: text
+.. code-block:: ps1con
c:\pyramidtut> %VENV%\Scripts\python setup.py sdist
@@ -27,16 +27,15 @@ The output of such a command will be something like:
.. code-block:: text
running sdist
- # .. more output ..
+ # more output
creating dist
- tar -cf dist/tutorial-0.0.tar tutorial-0.0
- gzip -f9 dist/tutorial-0.0.tar
+ Creating tar archive
removing 'tutorial-0.0' (and everything under it)
Note that this command creates a tarball in the "dist" subdirectory named
``tutorial-0.0.tar.gz``. You can send this file to your friends to show them
your cool new application. They should be able to install it by pointing the
-``easy_install`` command directly at it. Or you can upload it to `PyPI
+``pip install .`` command directly at it. Or you can upload it to `PyPI
<http://pypi.python.org>`_ and share it with the rest of the world, where it
-can be downloaded via ``easy_install`` remotely like any other package people
+can be downloaded via ``pip install`` remotely like any other package people
download from PyPI.