diff options
| author | Michael Merickel <michael@merickel.org> | 2016-12-23 15:08:50 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-23 15:08:50 -0600 |
| commit | a7d55e25efdd14c7cbc36f23b446babce14b238e (patch) | |
| tree | ed4b7ddd23b5a506780463ba2d51377b83afc646 /docs/tutorials/wiki/distributing.rst | |
| parent | 933d3494b31286f45e5c460e0881b2a3cb616c42 (diff) | |
| parent | 1117bcd9a458e2f8664cabeef84209cf7b168e30 (diff) | |
| download | pyramid-a7d55e25efdd14c7cbc36f23b446babce14b238e.tar.gz pyramid-a7d55e25efdd14c7cbc36f23b446babce14b238e.tar.bz2 pyramid-a7d55e25efdd14c7cbc36f23b446babce14b238e.zip | |
Merge pull request #2881 from stevepiercy/docs-cookiecutter-changes-only
docs cookiecutter changes only
Diffstat (limited to 'docs/tutorials/wiki/distributing.rst')
| -rw-r--r-- | docs/tutorials/wiki/distributing.rst | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/tutorials/wiki/distributing.rst b/docs/tutorials/wiki/distributing.rst index 386b880e6..fb0a552e0 100644 --- a/docs/tutorials/wiki/distributing.rst +++ b/docs/tutorials/wiki/distributing.rst @@ -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: @@ -20,7 +19,7 @@ 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: @@ -35,7 +34,7 @@ The output of such a command will be something like: 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 -``pip 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 ``pip install`` remotely like any other package people download from PyPI. |
