Mercurial > hg > carton
view tests/packageA/setup.py @ 39:d9dcc5a1503b
allow distutils packages as well as setuptools
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 09 Apr 2012 13:46:42 -0700 |
parents | f522620c6a78 |
children |
line wrap: on
line source
import os from setuptools import setup try: here = os.path.dirname(os.path.abspath(__file__)) description = file(os.path.join(here, 'README.txt')).read() except IOError: description = None version = '0.0' deps = ['packageB', 'packageC'] setup(name='packageA', version=version, description="packageA", long_description=description, classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers keywords='mozilla', author='Jeff Hammel', author_email='jhammel@mozilla.com', url='example.com', license='', py_modules=['packageA'], packages=[], include_package_data=True, zip_safe=False, install_requires=deps, entry_points=""" # -*- Entry points: -*- [console_scripts] packageA = packageA:main """, )