comparison makeitso/python_module/setup.py @ 129:57834c2b0937

add a single-file module to the thingy
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 08 Jul 2011 10:43:48 -0700
parents
children ee29d37198a3
comparison
equal deleted inserted replaced
128:0107f95376b3 129:57834c2b0937
1 import os
2 from setuptools import setup
3
4 try:
5 here = os.path.dirname(os.path.abspath(__file__))
6 description = file(os.path.join(here, 'README.txt')).read()
7 except IOError:
8 description = None
9
10 version = '0.0'
11
12 deps = []
13
14 setup(name='{{module}}',
15 version=version,
16 description="{{description}}",
17 long_description=description,
18 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
19 keywords='mozilla',
20 author='{{author}}',
21 author_email='{{email}}',
22 url='{{url}}',
23 license='',
24 py_modules=['{{module}}'],
25 packages=[],
26 include_package_data=True,
27 zip_safe=False,
28 install_requires=deps,
29 entry_points="""
30 # -*- Entry points: -*-
31 [console_scripts]
32 {{module}} = {{module}}:main
33 """,
34 )