예제 #1
0
# The encoding of source files.
#source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'django-writingfield'
copyright = u'2014, Jamie Curle'

# 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.
#
version = '{}.{}'.format(
    writingfield.get_version()[0],
    writingfield.get_version()[1])

# The full version, including alpha/beta/rc tags.
release = writingfield.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'
예제 #2
0
import os
from distutils.core import setup
from writingfield import get_version

root_dir = os.path.dirname(__file__)
if root_dir != '':
    os.chdir(root_dir)

setup(
    name='django-writingfield',
    version=get_version(),
    license='BSD 3 Clause',
    description='A fullscreen textfield widget for Django',
    long_description=open('README.rst').read(),
    author='Jamie Curle',
    author_email='*****@*****.**',
    url='https://github.com/jamiecurle/django-writingfield',
    package_data={
        'writingfield': [
            'static/writingfield/*.js',
            'static/writingfield/*.css',
            'version.json',
        ],
    },
    install_requires=[
        'django >= 1.4.10'
    ],
    packages=[
        'writingfield',
    ])