Beispiel #1
0
# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'django-betterforms'
copyright = u'2013, Fusionbox, Inc.'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
from betterforms.version import VERSION, get_version
#
# The short X.Y version.
version = '.'.join(map(str, VERSION[:2]))
# The full version, including alpha/beta/rc tags.
release = get_version()

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
Beispiel #2
0
import os

from betterforms.version import get_version

__doc__ = """
App for Django featuring improved form base classes.
"""


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()


setup(
    name='django-betterforms',
    version=get_version(),
    description=__doc__,
    long_description=read('README.rst'),
    url="https://django-betterforms.readthedocs.org/en/latest/",
    author="Fusionbox",
    author_email='*****@*****.**',
    packages=[
        package for package in find_packages()
        if package.startswith('betterforms')
    ],
    install_requires=[
        'Django>=1.4',
        'six',
    ],
    tests_require=[
        'mock>=1.0.1',
Beispiel #3
0
from setuptools import setup, find_packages
import os

from betterforms.version import get_version

__doc__ = """
App for Django featuring improved form base classes.
"""


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name='django-betterforms',
    version=get_version(),
    description=__doc__,
    long_description=read('README.rst'),
    url="https://django-betterforms.readthedocs.org/en/latest/",
    author="Fusionbox",
    author_email='*****@*****.**',
    packages=[package for package in find_packages() if package.startswith('betterforms')],
    install_requires=[
        'Django>=1.4',
        'six',
    ],
    tests_require=[
        'mock>=1.0.1',
    ],
    zip_safe=False,
    include_package_data=True,