コード例 #1
0
import sys
import os
sys.path.insert(0, os.path.abspath('src'))

from setuptools import setup

from primary_filters import get_version

def read(fname):
    """Utility function to read the README file."""
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

if __name__=='__main__':
    setup(
        name = 'django-primary-filters',
        version = get_version(),
        license = 'Apache License version 2',
        author = 'George Notaras',
        author_email = 'gnot [at] g-loaded.eu',
        maintainer = 'George Notaras',
        maintainer_email = 'gnot [at] g-loaded.eu',
        url = 'http://www.codetrax.org/projects/django-primary-filters',
        description = 'django-primary-filters provides some extra filters that are often needed by Django projects.',
        long_description = read('README'),
        download_url = 'https://source.codetrax.org/hgroot/django-primary-filters',
        platforms=['any'],
        classifiers = [
            'Development Status :: 4 - Beta',
            'Environment :: Web Environment',
            'Framework :: Django',
            'Intended Audience :: Developers',