Mercurial > hg > Lemuriformes
view setup.py @ 2:2bfc2debcb1c
[packaging] add requirements file
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 10 Dec 2017 11:34:27 -0800 |
parents | 7a4a073ee13e |
children | 9575c4a925c1 |
line wrap: on
line source
""" setup packaging script for Lemuriformes """ import os version = "0.0" dependencies = ['MakeItSo', 'webob'] # allow use of setuptools/distribute or distutils kw = {} try: from setuptools import setup kw['entry_points'] = """ [console_scripts] Lemuriformes = lemuriformes.main:main lemuriformes-template = lemuriformes.template:main """ kw['install_requires'] = dependencies except ImportError: from distutils.core import setup kw['requires'] = dependencies try: here = os.path.dirname(os.path.abspath(__file__)) description = open(os.path.join(here, 'README.txt')).read() except IOError: description = '' setup(name='Lemuriformes', version=version, description="ReSTful API consumer in python", long_description=description, classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers author='Jeff Hammel', author_email='k0scist@gmail.com', url='http://k0s.org/hg/Lemuriformes', license='', packages=['lemuriformes'], include_package_data=True, tests_require=['tox'], zip_safe=False, **kw )