def pdc_version():
    return get_version()
# The encoding of source files.
# source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = "index"

# General information about the project.
project = u"PDC"
copyright = u"2014-2015, PDC Devel Team"

# 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.
pdc_version = get_version()
version = pdc_version.split("-")[0]
# The full version, including alpha/beta/rc tags.
release = pdc_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
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

from pdc import get_version


PACKAGE_NAME = 'pdc'
PACKAGE_VER = get_version()
PACKAGE_DESC = 'PDC - Product Definition Center'
PACKAGE_URL = 'https://github.com/release-engineering/product-definition-center.git'  # noqa


def get_install_requires():
    requires = []
    links = []
    for line in open('requirements/production.txt', 'r'):
        line = line.strip()
        if not line.startswith('#'):
            parts = line.split('#egg=')
            if len(parts) == 2:
                links.append(line)
                requires.append(parts[1])
            else:
                requires.append(line)
    return requires, links


install_requires, dependency_links = get_install_requires()

Beispiel #4
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'PDC'
copyright = u'2014-2015, PDC Devel Team'

# 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.
pdc_version = get_version()
version = pdc_version.split('-')[0]
# The full version, including alpha/beta/rc tags.
release = pdc_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
Beispiel #5
0
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

from pdc import get_version

PACKAGE_NAME = 'pdc'
PACKAGE_VER = get_version()
PACKAGE_DESC = 'PDC - Product Definition Center'
PACKAGE_URL = 'https://github.com/product-definition-center/product-definition-center.git'  # noqa


def get_install_requires():
    requires = []
    links = []
    for line in open('requirements/production.txt', 'r'):
        line = line.strip()
        if not line.startswith('#'):
            parts = line.split('#egg=')
            if len(parts) == 2:
                links.append(line)
                requires.append(parts[1])
            else:
                requires.append(line)
    return requires, links


install_requires, dependency_links = get_install_requires()

setup(
    name=PACKAGE_NAME,
Beispiel #6
0
def pdc_version():
    return get_version()
Beispiel #7
0
def pdc_version():
    return 'Version: ' + get_version(
    ) + ' based on upstream ' + pdc.get_version()