# HG changeset patch # User Brian Neal # Date 1338941016 18000 # Node ID ad9d606ef5fa6030691daab0db86d14f4515fff6 # Parent 19d33ff901af077ad5773c192441502cb456f8bc Updates for upload to PyPI. diff -r 19d33ff901af -r ad9d606ef5fa README.txt --- 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 :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/ diff -r 19d33ff901af -r ad9d606ef5fa enigma/docs/source/overview.rst --- 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/ diff -r 19d33ff901af -r ad9d606ef5fa setup.py --- 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',