Mercurial > hg > Lemuriformes
view setup.py @ 0:7a4a073ee13e
initial commit
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 22 May 2017 18:50:11 -0700 |
parents | |
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 )