changeset 46:ad9d606ef5fa

Updates for upload to PyPI.
author Brian Neal <bgneal@gmail.com>
date Tue, 05 Jun 2012 19:03:36 -0500
parents 19d33ff901af
children 38da44b09e43
files README.txt enigma/docs/source/overview.rst setup.py
diffstat 3 files changed, 28 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/README.txt	Tue Jun 05 18:18:28 2012 -0500
+++ b/README.txt	Tue Jun 05 19:03:36 2012 -0500
@@ -6,7 +6,7 @@
 
 :Author: Brian Neal <bgneal@gmail.com>
 :Version: 0.1
-:Date: June 4, 2012
+:Date: June 5, 2012
 :Home Page: https://bitbucket.org/bgneal/enigma/
 :License: MIT License (see LICENSE.txt)
 :Documentation: http://py-enigma.readthedocs.org/
@@ -97,15 +97,19 @@
 Installation
 ------------
 
-After the project gets a bit more mature I will add Py-Enigma to the `Python
-Package Index`_ (PyPI). In the meantime, you may download a tarball or .zip file
-of the latest code using the "get source" link on the `Py-Enigma Bitbucket
-page`_. Alternatively if you use Mercurial_, you can clone the repository with
-the following command::
+Py-Enigma is available on the `Python Package Index`_ (PyPI). You can install it
+using pip_::
+
+   $ pip install py-enigma             # install
+   $ pip install --upgrade py-enigma   # upgrade
+
+You may also download a tarball or .zip file of the latest code using the "get
+source" link on the `Py-Enigma Bitbucket page`_. Alternatively if you use
+Mercurial_, you can clone the repository with the following command::
 
    $ hg clone https://bitbucket.org/bgneal/enigma
 
-Once you have obtained a copy of the source somehow, to install::
+If you did not use pip, you can install with this command::
 
    $ python setup.py install
 
@@ -157,7 +161,8 @@
 
 .. _Enigma machines: http://en.wikipedia.org/wiki/Enigma_machine
 .. _Python: http://www.python.org
-.. _Python Package Index: http://pypi.python.org/pypi
+.. _Python Package Index: http://pypi.python.org/pypi/py-enigma/
+.. _pip: http://pip.openplans.org/
 .. _Py-Enigma Bitbucket page: https://bitbucket.org/bgneal/enigma
 .. _Mercurial: http://mercurial.selenic.com/
 .. _Sphinx: http://sphinx.pocoo.org/
--- a/enigma/docs/source/overview.rst	Tue Jun 05 18:18:28 2012 -0500
+++ b/enigma/docs/source/overview.rst	Tue Jun 05 19:03:36 2012 -0500
@@ -61,12 +61,21 @@
 Installation
 ------------
 
-Py-Enigma will by placed on PyPI_ very soon.
+Py-Enigma is available on the `Python Package Index`_ (PyPI). You can install it
+using pip_::
 
-In the meantime, you can download a source .zip or tarball at the `Py-Enigma
-Bitbucket page`_. Once unpacked, you can install with::
+   $ pip install py-enigma             # install
+   $ pip install --upgrade py-enigma   # upgrade
 
-   python setup.py install
+You may also download a tarball or .zip file of the latest code using the "get
+source" link on the `Py-Enigma Bitbucket page`_. Alternatively if you use
+Mercurial_, you can clone the repository with the following command::
+
+   $ hg clone https://bitbucket.org/bgneal/enigma
+
+If you did not use pip, you can install with this command::
+
+   $ python setup.py install
 
 
 Support & Source
@@ -104,7 +113,7 @@
 
 .. _Enigma machines: http://en.wikipedia.org/wiki/Enigma_machine
 .. _Python: http://www.python.org
-.. _PyPI: http://pypi.python.org/pypi
+.. _Python Package Index: http://pypi.python.org/pypi/py-enigma/
 .. _Py-Enigma Bitbucket page: https://bitbucket.org/bgneal/enigma
 .. _pip: http://www.pip-installer.org
 .. _Mercurial: http://mercurial.selenic.com/
--- a/setup.py	Tue Jun 05 18:18:28 2012 -0500
+++ b/setup.py	Tue Jun 05 19:03:36 2012 -0500
@@ -9,7 +9,7 @@
 import enigma
 
 setup(
-    name='enigma',
+    name='py-enigma',
     version=enigma.__version__,
     author='Brian Neal',
     author_email='bgneal@gmail.com',