コード例 #1
0
from setuptools import setup, find_packages
import os

from events import get_version

README = os.path.join(os.path.dirname(__file__), 'README.rst')
long_description = open(README).read() + '\n\n'

setup(name='django-events-calendar',
      version=get_version().replace(' ', '-'),
      install_requires=['sorl-thumbnail==11.12', 'django-extensions'],
      author='Jacob Tuz Poot',
      author_email='*****@*****.**',
      url='http://github.com/jtuz/django-events-calendar',
      description='Django app to manage and publish Events on a Web Site',
      long_description=long_description,
      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
      package_data={
             '': ['*.txt', '*.rst']
      },
      include_package_data=True,
      keywords='events django admin',
      license='BSD License',
      classifiers=['Development Status :: 3 - Alpha',
                   'Environment :: Web Environment',
                   'Framework :: Django',
                   'Intended Audience :: Developers',
                   'Natural Language :: Spanish',
                   'Operating System :: OS Independent',
                   'Programming Language :: Python :: 2',
                   'License :: OSI Approved :: BSD License',
コード例 #2
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 Events'
copyright = u'2012 Calloway Project, 2009, Tony Hauber, Yann Malet, Rock Howard'

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