Mercurial > hg > PaInt
comparison tests/dummy/setup.py @ 55:72e521851f1a
add a dummy package for testing
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Wed, 23 Jan 2013 15:35:49 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 54:a8236b97abd3 | 55:72e521851f1a |
|---|---|
| 1 """ | |
| 2 setup packaging script for dummy | |
| 3 """ | |
| 4 | |
| 5 import os | |
| 6 | |
| 7 version = "0.1" | |
| 8 dependencies = [] | |
| 9 | |
| 10 kw = {} | |
| 11 | |
| 12 from setuptools import setup | |
| 13 kw['entry_points'] = """ | |
| 14 """ | |
| 15 kw['install_requires'] = dependencies | |
| 16 | |
| 17 try: | |
| 18 here = os.path.dirname(os.path.abspath(__file__)) | |
| 19 description = file(os.path.join(here, 'README.txt')).read() | |
| 20 except IOError: | |
| 21 description = '' | |
| 22 | |
| 23 setup(name='dummy', | |
| 24 version=version, | |
| 25 description="a dummy package", | |
| 26 long_description=description, | |
| 27 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
| 28 author='Jeff Hammel', | |
| 29 author_email='jhammel@mozilla.com', | |
| 30 url='http://example.com/', | |
| 31 license='', | |
| 32 packages=['dummy'], | |
| 33 include_package_data=True, | |
| 34 zip_safe=False, | |
| 35 **kw | |
| 36 ) |
