Changeset 73

Show
Ignore:
Timestamp:
12/27/06 18:57:20 (2 years ago)
Author:
rgrp
Message:

Merge changeset:66 bugfix to setup.py into trunk and make a few other minor changes (Kid -> Genshi, extra item in classifiers).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/setup.py

    Revision 60 Revision 73
    1import ez_setup 1import ez_setup 
    2ez_setup.use_setuptools() 2ez_setup.use_setuptools() 
    3from setuptools import setup, find_packages 3from setuptools import setup, find_packages 
    4 4 
    5import sys 5import sys 
    6sys.path.append('./src') 6sys.path.insert(0, './src') 
    7from shakespeare import __version__, __application_name__ 7from shakespeare import __version__, __application_name__ 
    8 8 
    9setup( 9setup( 
    10    name = __application_name__, 10    name = __application_name__, 
    11    version = __version__, 11    version = __version__, 
    12    packages = find_packages(),  12     package_dir = { '' : 'src' }, 
       13     packages = find_packages('src'), 
    13    scripts = ['bin/shakespeare-admin'], 14    scripts = ['bin/shakespeare-admin'], 
      15    include_package_data = True, 
    14 16 
    15    install_requires = ['SQLObject>=0.6,<=0.7.99'], 17    install_requires = ['SQLObject>=0.6,<=0.7.99'], 
    16    # don't require cherrypy and kid as they are not needed for the core 18    # don't require cherrypy and kid as they are not needed for the core 
    17    # library -- only for the web interface 19    # library -- only for the web interface 
    18    extras_require = { 20    extras_require = { 
    19        'web_gui' : ['CherryPy>=0.3', 'kid>=0.9'], 21        'web_gui' : ['CherryPy>=0.3', 'Genshi>=0.3'], 
    20        }, 22        }, 
    21 23 
    22    # metadata for upload to PyPI 24    # metadata for upload to PyPI 
    23    author = "Rufus Pollock (Open Knowledge Foundation)", 25    author = "Rufus Pollock (Open Knowledge Foundation)", 
    24    author_email = "rufus.pollock@okfn.org", 26    author_email = "rufus.pollock@okfn.org", 
    25    description = \ 27    description = \ 
    26"A full open set of Shakespeare's works along with anciallary material, a variety of tools and a python api", 28"A full open set of Shakespeare's works along with anciallary material, a variety of tools and a python api", 
    27    long_description = \ 29    long_description = \ 
    28""" 30""" 
    29The Open Shakespeare package provides a full open set of shakespeare's works 31The Open Shakespeare package provides a full open set of shakespeare's works 
    30(often in multiple versions) along with ancillary material, a variety of tools 32(often in multiple versions) along with ancillary material, a variety of tools 
    31and a python API. 33and a python API. 
    32 34 
    33Specifically in addition to the works themselves (often in multiple versions) 35Specifically in addition to the works themselves (often in multiple versions) 
    34there is an introduction, a chronology, explanatory notes, a concordance and 36there is an introduction, a chronology, explanatory notes, a concordance and 
    35search facilities. 37search facilities. 
    36 38 
    37All material is open source/open knowledge so that anyone can use, redistribute 39All material is open source/open knowledge so that anyone can use, redistribute 
    38and reuse these materials freely. For exact details of the license under which 40and reuse these materials freely. For exact details of the license under which 
    39this package is made available please see COPYING.txt. 41this package is made available please see COPYING.txt. 
    40 42 
    41Open Shakespeare has been developed under the aegis of the Open Knowledge 43Open Shakespeare has been developed under the aegis of the Open Knowledge 
    42Foundation (http://www.okfn.org/). 44Foundation (http://www.okfn.org/). 
    43""", 45""", 
    44    license = "MIT", 46    license = "MIT", 
    45    keywords = "open shakespeare search view", 47    keywords = "open shakespeare search view", 
    46    url = "http://www.openshakespeare.org/",  48    url = "http://www.openshakespeare.org/",  
    47    download_url = "http://www.openshakespeare.org/code/", 49    download_url = "http://www.openshakespeare.org/code/", 
    48    classifiers = [ 50    classifiers = [ 
    49        'Development Status :: 3 - Alpha', 51        'Development Status :: 3 - Alpha', 
    50        'Environment :: Console', 52        'Environment :: Console', 
      53        'Environment :: Web', 
    51        'Intended Audience :: Developers', 54        'Intended Audience :: Developers', 
    52        'License :: OSI Approved :: MIT License', 55        'License :: OSI Approved :: MIT License', 
    53        'Operating System :: OS Independent', 56        'Operating System :: OS Independent', 
    54        'Programming Language :: Python', 57        'Programming Language :: Python', 
    55        'Topic :: Software Development :: Libraries :: Python Modules'], 58        'Topic :: Software Development :: Libraries :: Python Modules'], 
    56) 59)