diff options
| author | Michael Merickel <michael@merickel.org> | 2016-02-29 13:02:13 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2016-02-29 13:02:13 -0600 |
| commit | 565fa59e7eab1e71ec4c4c1ee5773f2ecbf7a07f (patch) | |
| tree | 9f7098358c01622fcae8fbe8a318f6484e5d3c8b /docs/tutorials/wiki2/distributing.rst | |
| parent | cb98a90c3dcc40dc42813143a601ef631249f5f4 (diff) | |
| parent | a79bac6697fa312cd1ba0ac4e784bbc820c5e603 (diff) | |
| download | pyramid-565fa59e7eab1e71ec4c4c1ee5773f2ecbf7a07f.tar.gz pyramid-565fa59e7eab1e71ec4c4c1ee5773f2ecbf7a07f.tar.bz2 pyramid-565fa59e7eab1e71ec4c4c1ee5773f2ecbf7a07f.zip | |
Merge pull request #2024 from Pylons/feature/alchemy-scaffold-update
alchemy scaffold updates
Diffstat (limited to 'docs/tutorials/wiki2/distributing.rst')
| -rw-r--r-- | docs/tutorials/wiki2/distributing.rst | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/docs/tutorials/wiki2/distributing.rst b/docs/tutorials/wiki2/distributing.rst index fee50a1cf..84e0e6d84 100644 --- a/docs/tutorials/wiki2/distributing.rst +++ b/docs/tutorials/wiki2/distributing.rst @@ -4,19 +4,18 @@ 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 virtualenv representing -a :app:`Pyramid` environment. +current working directory contains the ``tutorial`` package and the +``setup.py`` file. 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,8 +26,7 @@ The output of such a command will be something like: running sdist # .. 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 |
