Mercurial > hg > MakeItSo
view makeitso/python_package/setup.py @ 129:57834c2b0937
add a single-file module to the thingy
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 08 Jul 2011 10:43:48 -0700 |
parents | 908e9a653668 |
children | 0e18cdf36a0e |
line wrap: on
line source
import os from setuptools import setup, find_packages try: here = os.path.dirname(os.path.abspath(__file__)) description = file(os.path.join(here, 'README.txt')).read() except IOError: description = '' version = "0.0" dependencies = {{dependencies}} setup(name='{{project}}', version=version, description="{{description}}", long_description=description, classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers author='{{author}}', author_email='{{email}}', url='{{url}}', license='', packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, zip_safe=False, install_requires=dependencies, entry_points=""" # -*- Entry points: -*- {{console_scripts}} """, )