from setuptools import setup

# Filling in this template requires filling in:
# name
# description
# packages
# classifiers
#    Development Status :: 
# ... it would also be beneficial to study/fill in other classifiers 
#
# Also will benefit from confirming the url -- which may change frequently
#    ... such as if not using bitbucket


def TEMPLATE(placeholder='unspecified'):
    """This function exists only to prevent you from running setup.py wihtout
    filling in necessary parts. Delete TEMPLATE in the filled-in version."""
    raise Exception("Template has not yet been filled in for: "+placeholder)

setup(
    name=TEMPLATE('{package-name}'),
    version=open('VERSION').read().strip(),
    author='Oakland John Peters',
    author_email='oakland.peters@gmail.com',

    description='Class-based syntax for creating properties in Python.',
    long_description=open('README.rst').read(),
    url=TEMPLATE('package: http://bitbucket.org/OPeters/{package-name}'),
    license='MIT',

    packages=['clsproperty'],

    classifiers=[
        #Select one 'Development Status'
        #'Development Status :: 1 - Planning',
        #'Development Status :: 2 - Pre-Alpha',
        #'Development Status :: 3 - Alpha',
        #'Development Status :: 4 - Beta',
        #'Development Status :: 5 - Production/Stable',
        'Development Status :: 2 - Pre-Alpha',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: Implementation :: CPython',

        'Topic :: Software Development :: Libraries :: Python Modules',
        'Intended Audience :: Developers',
        'Topic :: Utilities' #only if appropriate
    ]
)
