| 1 | from setuptools import setup, find_packages | 1 | from setuptools import setup, find_packages |
|---|
| 2 | | 2 | |
|---|
| 3 | from annotater import __version__ | 3 | from annotater import __version__ |
|---|
| 4 | | 4 | |
|---|
| 5 | | 5 | |
|---|
| 6 | setup( | 6 | setup( |
|---|
| 7 | name = 'annotater', | 7 | name = 'annotater', |
|---|
| 8 | version = __version__, | 8 | version = __version__, |
|---|
| 9 | packages = find_packages(), | 9 | packages = find_packages(), |
|---|
| 10 | # WARNING: package_data is broken for sdist | 10 | # WARNING: package_data is broken for sdist |
|---|
| 11 | # see | 11 | # see |
|---|
| 12 | # http://mail.python.org/pipermail/distutils-sig/2007-February/007216.html | 12 | # http://mail.python.org/pipermail/distutils-sig/2007-February/007216.html |
|---|
| 13 | # package_data = { | 13 | # package_data = { |
|---|
| 14 | # 'annotater.marginalia' : ['*.js', '*.css', 'lang/*' ], | 14 | # 'annotater.marginalia' : ['*.js', '*.css', 'lang/*' ], |
|---|
| 15 | # }, | 15 | # }, |
|---|
| 16 | install_requires = [ 'SQLObject >= 0.7', | 16 | install_requires = [ 'SQLObject >= 0.7', |
|---|
| 18 | 'Paste >= 1.0', | 18 | 'Paste >= 1.0', |
|---|
| 19 | 'wsgiref' ], | 19 | 'wsgiref' ], |
|---|
| 20 | scripts = [], | 20 | scripts = [], |
|---|
| 21 | | 21 | |
|---|
| 22 | # metadata for upload to PyPI | 22 | # metadata for upload to PyPI |
|---|
| 23 | author = 'Rufus Pollock (Open Knowledge Foundation)', | 23 | author = 'Rufus Pollock (Open Knowledge Foundation)', |
|---|
| 24 | author_email = 'rufus@rufuspollock.org', | 24 | author_email = 'rufus@rufuspollock.org', |
|---|
| 25 | description = \ | 25 | description = \ |
|---|
| 26 | "Inline javascript-based web annotation.", | 26 | "Inline javascript-based web annotation.", |
|---|
| 27 | long_description = \ | 27 | long_description = \ |
|---|
| 28 | """ | 28 | """ |
|---|
| 29 | Inline javascript-based web annotation library incorporating Marginalia | 29 | Inline javascript-based web annotation library incorporating Marginalia |
|---|
| 30 | (http://www.geof.net/code/annotation). Package includeds a database-backed | 30 | (http://www.geof.net/code/annotation). Package includeds a database-backed |
|---|
| 31 | annotation store with RESTFul (WSGI-powered) web-interface, abstraction layer | 31 | annotation store with RESTFul (WSGI-powered) web-interface, abstraction layer |
|---|
| 32 | around marginalia to make it easy to incorporate it into your web application | 32 | around marginalia to make it easy to incorporate it into your web application |
|---|
| 33 | and all the marginalia media files (with improvements). | 33 | and all the marginalia media files (with improvements). |
|---|
| 34 | """, | 34 | """, |
|---|
| 35 | license = 'MIT', | 35 | license = 'MIT', |
|---|
| 36 | keywords = 'annotation web javascript', | 36 | keywords = 'annotation web javascript', |
|---|
| 37 | url = 'http://p.knowledgeforge.net/shakespeare/svn/annotater/', | 37 | url = 'http://p.knowledgeforge.net/shakespeare/svn/annotater/', |
|---|
| 38 | download_url = 'http://p.knowledgeforge.net/shakespeare/svn/annotater/trunk', | 38 | download_url = 'http://p.knowledgeforge.net/shakespeare/svn/annotater/trunk', |
|---|
| 39 | classifiers = [ | 39 | classifiers = [ |
|---|
| 40 | 'Development Status :: 3 - Alpha', | 40 | 'Development Status :: 3 - Alpha', |
|---|
| 41 | 'Environment :: Console', | 41 | 'Environment :: Console', |
|---|
| 42 | 'Intended Audience :: Developers', | 42 | 'Intended Audience :: Developers', |
|---|
| 43 | 'License :: OSI Approved :: MIT License', | 43 | 'License :: OSI Approved :: MIT License', |
|---|
| 44 | 'Operating System :: OS Independent', | 44 | 'Operating System :: OS Independent', |
|---|
| 45 | 'Programming Language :: Python', | 45 | 'Programming Language :: Python', |
|---|
| 46 | 'Topic :: Software Development :: Libraries :: Python Modules'], | 46 | 'Topic :: Software Development :: Libraries :: Python Modules'], |
|---|
| 47 | ) | 47 | ) |
|---|