Mercurial > hg > PaInt
changeset 55:72e521851f1a
add a dummy package for testing
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 23 Jan 2013 15:35:49 -0800 |
parents | a8236b97abd3 |
children | 042a1b2a3e8a |
files | tests/dummy/README.txt tests/dummy/dummy/__init__.py tests/dummy/setup.py |
diffstat | 3 files changed, 49 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/dummy/README.txt Wed Jan 23 15:35:49 2013 -0800 @@ -0,0 +1,11 @@ +dummy +=========== + +a dummy package + +---- + +Jeff Hammel + +http://example.com/ +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/dummy/dummy/__init__.py Wed Jan 23 15:35:49 2013 -0800 @@ -0,0 +1,2 @@ +# dummy file +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/dummy/setup.py Wed Jan 23 15:35:49 2013 -0800 @@ -0,0 +1,36 @@ +""" +setup packaging script for dummy +""" + +import os + +version = "0.1" +dependencies = [] + +kw = {} + +from setuptools import setup +kw['entry_points'] = """ +""" +kw['install_requires'] = dependencies + +try: + here = os.path.dirname(os.path.abspath(__file__)) + description = file(os.path.join(here, 'README.txt')).read() +except IOError: + description = '' + +setup(name='dummy', + version=version, + description="a dummy package", + long_description=description, + classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers + author='Jeff Hammel', + author_email='jhammel@mozilla.com', + url='http://example.com/', + license='', + packages=['dummy'], + include_package_data=True, + zip_safe=False, + **kw + )