from setuptools import setup, find_packages
import os
import viewpoint

try:
    long_desc = open(os.path.join(os.path.dirname(__file__), 'README')).read()
except (IOError, OSError):
    long_desc = ''

try:
    reqs = open(os.path.join(os.path.dirname(__file__), 'requirements.txt')).read()
except (IOError, OSError):
    reqs = ''

version = viewpoint.get_version()

setup(
    name = 'viewpoint',
    version = version,
    description = 'A simple blog with hooks for categories, tinymce, tags and other things',
    long_description = long_desc,
    author = 'Justin Quick, Corey Oordt',
    author_email = '[email protected], [email protected]',
    url = 'http://opensource.washingtontimes.com/projects/viewpoint/',
    classifiers = [
        'Development Status :: 4 - Beta',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python :: 2',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
Example #2
0
# The encoding of source files.
#source_encoding = 'utf-8'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = 'Viewpoint'
copyright = u'2010, The Washington Times'

# 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 = viewpoint.get_version()
# The full version, including alpha/beta/rc tags.
release = viewpoint.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 = []