view setup.py @ 21:4f7c05630f36

tie up some factory loose ends and sweeten the API with syntactic sugar
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 06 Jun 2011 07:39:18 -0700
parents 5ce55f6c8964
children b57de7c38a74
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.1.2"
dependencies = []

setup(name='pyloader',
      version=version,
      description="Load python attributes from a string",
      long_description=description,
      classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
      author='Jeff Hammel',
      author_email='jhammel@mozilla.com',
      url='http://k0s.org/',
      license='MPL',
      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
      include_package_data=True,
      zip_safe=False,
      install_requires=dependencies,
      entry_points="""
      # -*- Entry points: -*-
      [console_scripts]
      pyloader = pyloader.invoke:main
      """,
      )