pytty

changeset 14:eeb751ade1ef

Allow pydoc on setup.py to work moved __author__ and __version__ to src/__init__.py Added Chris to __author__ list
author Arc Riley <arcriley@gmail.com>
date Sat, 04 Dec 2010 20:11:40 -0500
parents dbe4867da9c5
children 977c9604d58a
files setup.py src/__init__.py
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line diff
     1.1 --- a/setup.py	Wed Nov 10 15:23:45 2010 -0500
     1.2 +++ b/setup.py	Sat Dec 04 20:11:40 2010 -0500
     1.3 @@ -17,13 +17,12 @@
     1.4      You should have received a copy of the GNU Lesser General Public License
     1.5      along with this program; if not, see http://www.gnu.org/licenses
     1.6  '''
     1.7 -__author__  = 'Arc Riley'
     1.8 -__version__ = '0.2'
     1.9  
    1.10 +from src import __author__, __version__
    1.11  import sys
    1.12  from distutils.core import setup
    1.13  
    1.14 -setup(
    1.15 +if __name__ == '__main__' : setup(
    1.16    #
    1.17    #############################################################################
    1.18    #
     2.1 --- a/src/__init__.py	Wed Nov 10 15:23:45 2010 -0500
     2.2 +++ b/src/__init__.py	Sat Dec 04 20:11:40 2010 -0500
     2.3 @@ -17,7 +17,11 @@
     2.4    You should have received a copy of the GNU Lesser General Public License
     2.5    along with this program; if not, see http://www.gnu.org/licenses
     2.6  '''
     2.7 -__author__  = 'Arc Riley <arcriley@gmail.com>'
     2.8 +__author__  = '\n'.join((
     2.9 +  'Arc Riley <arcriley@gmail.com>',
    2.10 +  'Chris Koepke',
    2.11 +))
    2.12 +__version__ = '0.2'
    2.13  
    2.14  import io
    2.15