Skip to content

Commit

Permalink
make distributing.rst's consistent, use pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Dec 23, 2016
1 parent e7b12f6 commit 5d9fd5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions docs/tutorials/wiki/distributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ Distributing Your Application

Once your application works properly, you can create a "tarball" from it by
using the ``setup.py sdist`` command. The following commands assume your
current working directory is the ``tutorial`` package we've created and that
the parent directory of the ``tutorial`` package is a virtual environment
representing a :app:`Pyramid` environment.
current working directory contains the ``tutorial`` package and the
``setup.py`` file.

On UNIX:

Expand Down
10 changes: 5 additions & 5 deletions docs/tutorials/wiki2/distributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ On Windows:

.. code-block:: doscon
c:\pyramidtut> %VENV%\Scripts\python setup.py sdist
c:\tutorial> %VENV%\Scripts\python setup.py sdist
The output of such a command will be something like:

.. code-block:: text
running sdist
# .. more output ..
# more output
creating dist
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
<https://pypi.python.org/pypi>`_ and share it with the rest of the world, where
it can be downloaded via ``easy_install`` remotely like any other package
people download from PyPI.
it can be downloaded via ``pip install`` remotely like any other package people
download from PyPI.

0 comments on commit 5d9fd5f

Please sign in to comment.