# The encoding of source files. #source_encoding = 'utf-8-sig' # The master toctree document. master_doc = 'index' # General information about the project. project = u'python-fakturo-billingstack' # 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. from fakturo.billingstack.version import version_info as fakturo_version version = fakturo_version.canonical_version_string() # The full version, including alpha/beta/rc tags. release = fakturo_version.version_string_with_vcs() # 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.
from setuptools import setup, find_packages from fakturo.billingstack.openstack.common import setup as common_setup from fakturo.billingstack.version import version_info as version install_requires = common_setup.parse_requirements(['tools/pip-requires']) tests_require = common_setup.parse_requirements(['tools/test-requires']) setup_require = common_setup.parse_requirements(['tools/setup-requires']) dependency_links = common_setup.parse_dependency_links([ 'tools/pip-requires', 'tools/test-requires', 'tools/setup-requires' ]) setup( name='python-fakturo-billingstack', version=version.canonical_version_string(always=True), description='A provider of bindings / CLI commands for billingsystems', author='Endre Karlson', author_email='*****@*****.**', url='https://github.com/billingstack/fakturo', namespace_packages=['fakturo'], packages=find_packages(exclude=['bin']), include_package_data=True, test_suite='nose.collector', setup_requires=setup_require, install_requires=install_requires, tests_require=tests_require, extras_require={'test': tests_require}, dependency_links=dependency_links, cmdclass=common_setup.get_cmdclass(), entry_points=textwrap.dedent("""