from setuptools import setup, find_packages from wallabag_api import __version__ as version import os def strip_comments(l): return l.split('#', 1)[0].strip() def reqs(*f): return list(filter(None, [strip_comments(l) for l in open( os.path.join(os.getcwd(), *f)).readlines()])) install_requires = reqs('requirements.txt') setup( name='wallabag_api', version=version, description='Wallabag API', author='Olivier Demah', author_email='olivier@foxmask.info', url='https://github.com/foxmask/wallabag_api', download_url="https://github.com/foxmask/wallabag_api/archive/wallabag_api-" + version + ".zip", packages=find_packages(), classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.4', ], install_requires=install_requires, include_package_data=True, )