diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-04-10 03:30:29 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-04-10 03:30:29 -0700 |
| commit | bad5f37c641a90a09674304d124f9e17e61dec31 (patch) | |
| tree | 1bb97e0bbacf07889a4022b0bbc14353abc3fc73 /docs | |
| parent | 63dcf93491fc9f5a7361d82240111446af0ca7ee (diff) | |
| download | pyramid-bad5f37c641a90a09674304d124f9e17e61dec31.tar.gz pyramid-bad5f37c641a90a09674304d124f9e17e61dec31.tar.bz2 pyramid-bad5f37c641a90a09674304d124f9e17e61dec31.zip | |
- update wiki/distributing.rst to use pip
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/tutorials/wiki/distributing.rst | 13 |
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. |
