Exemple #1
0
try:
    from setuptools import setup, find_packages
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup, find_packages

from snippets import get_version

setup(
    name='django-snippets',
    version=get_version(),
    description=('Provides a templatetag for Django acting as an '
                 '{% include %}, but the template content comes from '
                 'database.'),
    long_description=('django-snippets provides a templatetag called '
                      'include_snippet for Django projects.\n\n'
                      'include_snippet acts as an {% include %}, that loads '
                      'a template and renders it with the current context, '
                      'but the template content comes from database.'),
    keywords='django apps template',
    license='New BSD License',
    author='Guilherme Gondim',
    author_email='*****@*****.**',
    url='http://github.com/semente/django-snippets/',
    dependency_links=[],
    classifiers=[
        'Environment :: Plugins',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
# The encoding of source files.
#source_encoding = 'utf-8'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'django-snippets'
copyright = u'2010, coordt'

# 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.
#
# The short X.Y version.
version = snippets.get_version()
# The full version, including alpha/beta/rc tags.
release = snippets.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 documents that shouldn't be included in the build.
#unused_docs = []
Exemple #3
0
try:
    from setuptools import setup, find_packages
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup, find_packages

from snippets import get_version

setup(
    name = 'django-snippets',
    version = get_version(),
    description = ('Provides a templatetag for Django acting as an '
                   '{% include %}, but the template content comes from '
                   'database.'),
    long_description = ('django-snippets provides a templatetag called '
                        'include_snippet for Django projects.\n\n'
                        'include_snippet acts as an {% include %}, that loads '
                        'a template and renders it with the current context, '
                        'but the template content comes from database.'),
    keywords = 'django apps template',
    license = 'New BSD License',
    author = 'Guilherme Gondim',
    author_email = '*****@*****.**',
    url = 'http://github.com/semente/django-snippets/',
    dependency_links = [],
    classifiers = [
        'Environment :: Plugins',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
# The encoding of source files.
#source_encoding = 'utf-8'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'django-snippets'
copyright = u'2010, coordt'

# 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.
#
# The short X.Y version.
version = snippets.get_version()
# The full version, including alpha/beta/rc tags.
release = snippets.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 documents that shouldn't be included in the build.
#unused_docs = []