view tests/packageB/setup.py @ 39:d9dcc5a1503b

allow distutils packages as well as setuptools
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 09 Apr 2012 13:46:42 -0700
parents 29b36a390857
children
line wrap: on
line source

import os
from setuptools import setup

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

version = '0.0'

deps = []

setup(name='packageB',
      version=version,
      description="packageB",
      long_description=description,
      classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
      keywords='mozilla',
      author='Jeff Hammel',
      author_email='jhammel@mozilla.com',
      url='example.com',
      license='',
      py_modules=['packageB'],
      packages=[],
      include_package_data=True,
      zip_safe=False,
      install_requires=deps,
      entry_points="""
      # -*- Entry points: -*-
      [console_scripts]
      packageB = packageB:main
      """,
      )