Source

citeulike_api / setup.py

from setuptools import setup, find_packages
import sys, os

here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
NEWS = open(os.path.join(here, 'NEWS.txt')).read()


version = '0.1'

install_requires = [
    "mechanize",
    "nose",     #TODO: this should be made optional for end-users
    "openmeta", #TODO: this should be made optional
]


setup(name='citeulike_api',
    version=version,
    description="a python api for http://citeulike.org/",
    long_description=README + '\n\n' + NEWS,
    classifiers=[
      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
    ],
    keywords='',
    author='Dan MacKinlay',
    author_email='citeulike_api@email.possumpalace.org',
    url='http://citeulike.org/',
    license='BSD',
    packages=find_packages('src'),
    package_dir = {'': 'src'},include_package_data=True,
    zip_safe=False,
    install_requires=install_requires,
    entry_points={
        'console_scripts':
            ['citeulike_api=citeulike_api:main']
    }
)