Mercurial > hg > carton
view tests/packageA/setup.py @ 35:122c56779f2b
add functionality to run post-install python scripts
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 08 Aug 2011 18:08:49 -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 """, )