Source

django-diario-py3k / setup.py

# -*- coding: utf-8 -*-

import codecs
import os
import sys

from setuptools import setup, find_packages


if 'publish' in sys.argv:
    os.system('python setup.py sdist upload')
    sys.exit()

read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()


# Dynamically calculate the version based on diario.VERSION.
version = __import__('diario').get_version()


setup(
    name='django-diario',
    version=version,
    description='Blog application for Django projects',
    long_description=read(os.path.join(os.path.dirname(__file__), 'README.rst')),
    keywords='django app apps weblog blog',
    author='Guilherme Gondim',
    author_email='semente+django-diario@taurinus.org',
    maintainer='Guilherme Gondim',
    maintainer_email='semente+django-diario@taurinus.org',
    url='https://bitbucket.org/semente/django-diario',
    download_url='https://bitbucket.org/semente/django-diario/downloads',
    license='GNU Lesser General Public License (LGPL), Version 3',
    packages=find_packages(),
    zip_safe=False,
    include_package_data=True,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
        #'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)