changeset 80:0300ed78d630

add a setup.py template
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 08 Jan 2011 20:54:41 -0800
parents 8c326f764cfe
children 0d5fac58b1a8
files makeitso/python_package/setup.py
diffstat 1 files changed, 29 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/makeitso/python_package/setup.py	Sat Jan 08 20:54:41 2011 -0800
@@ -0,0 +1,29 @@
+from setuptools import setup, find_packages
+
+try:
+    description = file('README.txt').read()
+except IOError: 
+    description = ''
+
+version = "0.0"
+
+setup(name='{{project}}',
+      version=version,
+      description="{{description}}",
+      long_description=description,
+      classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
+      author='{{author}}',
+      author_email='{{email}}',
+      url='{{url}}',
+      license='{{license}}'
+      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
+      include_package_data=True,
+      zip_safe=False,
+      install_requires=[
+          # -*- Extra requirements: -*-
+      ],
+      entry_points="""
+      # -*- Entry points: -*-
+      """,
+      )
+