summaryrefslogtreecommitdiffstats
path: root/Doc/distutils
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-06-09 11:13:24 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-06-09 11:13:24 (GMT)
commitebc991c0ce4493be276f2ea29676131b8880ec10 (patch)
tree76797bb878eeb5a709acad081a0e6d0dc047da31 /Doc/distutils
parent9c669ccc77c85eac245d460bab510a38b20d9a08 (diff)
parentd2f8cec88558993e10c1dae103a5bae6549e25ef (diff)
downloadcpython-ebc991c0ce4493be276f2ea29676131b8880ec10.zip
cpython-ebc991c0ce4493be276f2ea29676131b8880ec10.tar.gz
cpython-ebc991c0ce4493be276f2ea29676131b8880ec10.tar.bz2
Branch merge
Diffstat (limited to 'Doc/distutils')
-rw-r--r--Doc/distutils/introduction.rst10
1 files changed, 8 insertions, 2 deletions
diff --git a/Doc/distutils/introduction.rst b/Doc/distutils/introduction.rst
index 8dc604d..57d34a4 100644
--- a/Doc/distutils/introduction.rst
+++ b/Doc/distutils/introduction.rst
@@ -79,11 +79,17 @@ Some observations:
for an example)
To create a source distribution for this module, you would create a setup
-script, :file:`setup.py`, containing the above code, and run::
+script, :file:`setup.py`, containing the above code, and run this command from a
+terminal::
python setup.py sdist
-which will create an archive file (e.g., tarball on Unix, ZIP file on Windows)
+For Windows, open a command prompt windows ("DOS box") and change the command
+to::
+
+ setup.py sdist
+
+:command:`sdist` will create an archive file (e.g., tarball on Unix, ZIP file on Windows)
containing your setup script :file:`setup.py`, and your module :file:`foo.py`.
The archive file will be named :file:`foo-1.0.tar.gz` (or :file:`.zip`), and
will unpack into a directory :file:`foo-1.0`.