annotate tests/dummy/setup.py @ 78:ab0620d3755b

docstring
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 28 Jan 2013 18:45:52 -0800
parents 72e521851f1a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
55
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 """
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2 setup packaging script for dummy
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3 """
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5 import os
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7 version = "0.1"
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 dependencies = []
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10 kw = {}
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 from setuptools import setup
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
13 kw['entry_points'] = """
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
14 """
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
15 kw['install_requires'] = dependencies
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
16
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
17 try:
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
18 here = os.path.dirname(os.path.abspath(__file__))
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
19 description = file(os.path.join(here, 'README.txt')).read()
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
20 except IOError:
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
21 description = ''
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
22
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
23 setup(name='dummy',
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
24 version=version,
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
25 description="a dummy package",
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
26 long_description=description,
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
27 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
28 author='Jeff Hammel',
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
29 author_email='jhammel@mozilla.com',
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
30 url='http://example.com/',
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
31 license='',
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
32 packages=['dummy'],
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
33 include_package_data=True,
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
34 zip_safe=False,
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
35 **kw
72e521851f1a add a dummy package for testing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
36 )