annotate setup.py @ 78:d5c3fdceb718

flush out tests section
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 02 Mar 2012 16:23:36 -0800
parents 0e84dd7d740a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 from setuptools import setup, find_packages
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3 try:
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4 description = file('README.txt').read()
8
15c7171941ea more stubbing for tests
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
5 except IOError:
0
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 description = ''
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7
74
0e84dd7d740a note additional dependency
Jeff Hammel <jhammel@mozilla.com>
parents: 73
diff changeset
8 version = "0.1.2"
0
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10 setup(name='simpypi',
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11 version=version,
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 description="Simple pypi package",
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
13 long_description=description,
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
14 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
15 author='Jeff Hammel',
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
16 author_email='jhammel@mozilla.com',
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
17 url='http://k0s.org/mozilla/hg/simpypi',
26
f8ff95180d04 correct dependencies
Jeff Hammel <jhammel@mozilla.com>
parents: 8
diff changeset
18 license="MPL",
0
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
19 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
20 include_package_data=True,
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
21 zip_safe=False,
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
22 install_requires=[
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
23 # -*- Extra requirements: -*-
8
15c7171941ea more stubbing for tests
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
24 'WebOb',
74
0e84dd7d740a note additional dependency
Jeff Hammel <jhammel@mozilla.com>
parents: 73
diff changeset
25 'pkginfo',
73
ca92de52aa33 bump needed dep for Fileserver
Jeff Hammel <jhammel@mozilla.com>
parents: 70
diff changeset
26 'FileServer >= 0.2.1'
0
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
27 ],
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
28 entry_points="""
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
29 # -*- Entry points: -*-
70
8fa30276b3e0 add a command line entry point
Jeff Hammel <jhammel@mozilla.com>
parents: 26
diff changeset
30 [console_scripts]
8fa30276b3e0 add a command line entry point
Jeff Hammel <jhammel@mozilla.com>
parents: 26
diff changeset
31 simpypi = simpypi.factory:main
0
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
32 """,
93e830409685 initial stub commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
33 )