Mercurial > hg > MakeItSo
view makeitso/python_package/setup.py @ 114:b8d5d2041fe0
stub out project name -> package name
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 17 Jan 2011 14:38:42 -0800 |
parents | 697568ba4a22 |
children | 908e9a653668 |
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" depdendencies = {{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}} """, )