示例#1
0
# The encoding of source files.
#source_encoding = 'utf-8'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'django-staff'
copyright = u'2012, Calloway Open Source Development'

# 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 = staff.get_version(short=True)
# The full version, including alpha/beta/rc tags.
release = staff.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 = []
示例#2
0
from setuptools import setup, find_packages
import staff
import os

version = staff.get_version()


def read_file(filename):
    dirname = os.path.abspath(os.path.dirname(__file__))
    return open(os.path.join(dirname, filename)).read()


setup(
    name="django-staff",
    description="A basic addition to auth.User that manages additional staff info",
    long_description=read_file("README"),
    version=version,
    author="Corey Oordt",
    author_email="*****@*****.**",
    url="http://github.com/washingtontimes/django-staff",
    include_package_files=True,
    packages=find_packages(),
    classifiers=["Framework :: Django"],
)