コード例 #1
0
ファイル: conf.py プロジェクト: Korulag/gerritlib
# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'Gerritlib'
copyright = u'2012-2015, Openstack Foundation'

# 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.
#
# Version info
from gerritlib.version import version_info as gerritlib_version
release = gerritlib_version.version_string_with_vcs()
# The short X.Y version.
version = gerritlib_version.canonical_version_string()

# 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.
exclude_patterns = ['_build']
コード例 #2
0
# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'Gerritlib'
copyright = u'2012-2015, Openstack Foundation'

# 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.
#
# Version info
from gerritlib.version import version_info as gerritlib_version
release = gerritlib_version.version_string_with_vcs()
# The short X.Y version.
version = gerritlib_version.canonical_version_string()

# 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.
exclude_patterns = ['_build']
コード例 #3
0
ファイル: setup.py プロジェクト: dalen/gerritlib
from gerritlib.openstack.common import setup
from gerritlib.version import version_info as version

requires = setup.parse_requirements()
tests_require = setup.parse_requirements(['tools/test-requires'])
depend_links = setup.parse_dependency_links()


def read_file(file_name):
    return open(os.path.join(os.path.dirname(__file__), file_name)).read()


setuptools.setup(
    name="gerritlib",
    version=version.canonical_version_string(always=True),
    author='Hewlett-Packard Development Company, L.P.',
    author_email='*****@*****.**',
    description="Client library for accessing Gerrit.",
    license="Apache License, Version 2.0",
    url="https://github.com/openstack-ci/gerritlib",
    packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
    include_package_data=True,
    setup_requires=['setuptools_git>=0.4'],
    cmdclass=setup.get_cmdclass(),
    install_requires=requires,
    dependency_links=depend_links,
    tests_require=tests_require,
    test_suite="nose.collector",
    classifiers=[
        "Environment :: Console",