コード例 #1
0
ファイル: setup.py プロジェクト: bugman80/django-easy-reports
#!/usr/bin/env python
import os
import codecs
from setuptools import setup, find_packages
import ereports

RELEASE = ereports.get_version()

base_url = 'https://github.com/saxix/django-concurrency/'
VERSIONMAP = {'final': (ereports.VERSION, 'Development Status :: 5 - Production/Stable'),
              'rc': (ereports.VERSION, 'Development Status :: 4 - Beta'),
              'beta': (ereports.VERSION, 'Development Status :: 4 - Beta'),
              'alpha': ('master', 'Development Status :: 3 - Alpha')}

download_tag, development_status = VERSIONMAP[ereports.VERSION[3]]


def read(*parts):
    here = os.path.abspath(os.path.dirname(__file__))
    return codecs.open(os.path.join(here, *parts), 'r').read()


def reqs(*parts):
    here = os.path.abspath(os.path.dirname(__file__))
    return filter(lambda x: not x.startswith('#'),
                  codecs.open(os.path.join(here, *parts), 'r').readlines())


setup(
    name=ereports.NAME,
    version=RELEASE,
コード例 #2
0
#!/usr/bin/env python
import os
import codecs
from setuptools import setup, find_packages
import ereports

RELEASE = ereports.get_version()

base_url = 'https://github.com/saxix/django-concurrency/'
VERSIONMAP = {
    'final': (ereports.VERSION, 'Development Status :: 5 - Production/Stable'),
    'rc': (ereports.VERSION, 'Development Status :: 4 - Beta'),
    'beta': (ereports.VERSION, 'Development Status :: 4 - Beta'),
    'alpha': ('master', 'Development Status :: 3 - Alpha')
}

download_tag, development_status = VERSIONMAP[ereports.VERSION[3]]


def read(*parts):
    here = os.path.abspath(os.path.dirname(__file__))
    return codecs.open(os.path.join(here, *parts), 'r').read()


def reqs(*parts):
    here = os.path.abspath(os.path.dirname(__file__))
    return filter(lambda x: not x.startswith('#'),
                  codecs.open(os.path.join(here, *parts), 'r').readlines())


setup(
コード例 #3
0
ファイル: conf.py プロジェクト: bugman80/django-easy-reports
# 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 Easy Reports'
copyright = u'2012, Stefano Apostolico'

# 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 = app.get_version()
# The full version, including alpha/beta/rc tags.
release = app.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 patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.