from ceph_cfg.__version__ import versionfrom sys import version_infoif version_info < (2, 6):import sysprint("Please use a newer version of python")sys.exit(1)try:from setuptools import setup, find_packagesexcept ImportError:try:from distutils.core import setupexcept ImportError:from ez_setup import use_setuptoolsuse_setuptools()from setuptools import setup, find_packagesfrom setuptools.command.test import test as TestCommandimport sysclass PyTest(TestCommand):user_options = [('pytest-args=', 'a', "Arguments to pass to pytest")]def initialize_options(self):TestCommand.initialize_options(self)self.pytest_args = []def run_tests(self):import shlex#import here, cause outside the eggs aren't loadedimport pytesterrno = pytest.main(shlex.split(self.pytest_args))sys.exit(errno)setup(name='ceph_cfg',version=version,description="library for configuring ceph",long_description="""This library is inteded to provide an abstraction forpython tools for configuring ceph. It was intended to be used for salt butas it grew it became clear that this library could be used with or withoutsalt""",author="O M Synge",author_email="osynge@suse.com",license='Apache License (2.0)',install_requires=[],url = 'https://github.com/oms4suse/python-ceph-cfg.git',packages = ['ceph_cfg'],classifiers=['Development Status :: 5 - Production/Stable','Environment :: Console','Intended Audience :: Developers','Intended Audience :: Science/Research''Intended Audience :: System Administrators','License :: OSI Approved :: Apache Software License','Operating System :: POSIX','Programming Language :: Python',],scripts=[],tests_require=['coverage >= 3.0','pytest >=2.1.3','mock >=1.0b1',],cmdclass = {'test': PyTest},)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。