view 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
line wrap: on
line source

import os
from setuptools import setup, find_packages

try:
    here = os.path.dirname(os.path.abspath(__file__))
    description = file(os.path.join(here, 'README.txt')).read()
except IOError: 
    description = ''

version = "0.0"

depdendencies = {{dependencies}}

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='',
      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
      include_package_data=True,
      zip_safe=False,
      install_requires=dependencies,
      entry_points="""
      # -*- Entry points: -*-

      {{console_scripts}}
      """,
      )