view makeitso/python_package/setup.py @ 113:c3b8ce33d3ad

make variable getting logic a little less horrible
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 17 Jan 2011 14:32:07 -0800
parents 697568ba4a22
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}}
      """,
      )