view makeitso/python_package/setup.py @ 123:8db34885ebe4

tame that beast called doctest
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 19 May 2011 10:56:16 -0700
parents 908e9a653668
children 0e18cdf36a0e
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"

dependencies = {{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}}
      """,
      )