comparison makeitso/python_package/setup.py @ 109:697568ba4a22

make the python package template a little fancier
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 14 Jan 2011 17:55:08 -0800
parents ad5fd3eb6674
children 908e9a653668
comparison
equal deleted inserted replaced
108:32893f67f85d 109:697568ba4a22
6 description = file(os.path.join(here, 'README.txt')).read() 6 description = file(os.path.join(here, 'README.txt')).read()
7 except IOError: 7 except IOError:
8 description = '' 8 description = ''
9 9
10 version = "0.0" 10 version = "0.0"
11
12 depdendencies = {{dependencies}}
11 13
12 setup(name='{{project}}', 14 setup(name='{{project}}',
13 version=version, 15 version=version,
14 description="{{description}}", 16 description="{{description}}",
15 long_description=description, 17 long_description=description,
19 url='{{url}}', 21 url='{{url}}',
20 license='', 22 license='',
21 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), 23 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
22 include_package_data=True, 24 include_package_data=True,
23 zip_safe=False, 25 zip_safe=False,
24 install_requires=[ 26 install_requires=dependencies,
25 # -*- Extra requirements: -*-
26 ],
27 entry_points=""" 27 entry_points="""
28 # -*- Entry points: -*- 28 # -*- Entry points: -*-
29
30 {{console_scripts}}
29 """, 31 """,
30 ) 32 )
31 33