django-formrenderingtools / setup.py

# coding=utf-8
"""Python packaging."""
import os
from setuptools import setup


def read_relative_file(filename):
    """Returns contents of the given file, which path is supposed relative
    to this module."""
    with open(os.path.join(os.path.dirname(__file__), filename)) as f:
        return f.read().strip()


name = 'django-formrenderingtools'
version = read_relative_file('VERSION')
readme = read_relative_file('README')
packages = ['django_formrenderingtools']


setup(name=name,
      version=version,
      description="Template-based rendering of Django forms layouts.",
      long_description=readme,
      platforms='Any',
      classifiers=['Development Status :: 7 - Inactive',
                   'License :: OSI Approved :: BSD License',
                   'Operating System :: OS Independent',
                   'Framework :: Django'],
      keywords='templates forms layout',
      author='Benoit Bryon',
      author_email='benoit@marmelune.net',
      license='BSD',
      url='http://bitbucket.org/benoitbryon/django-formrenderingtools',
      packages=packages,
      include_package_data=True,
      zip_safe=False,
      install_requires=['setuptools',
                        'django>=1.0',
                        'django-templateaddons>=0.1'
      ],
      entry_points={},
)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.