ceph/setup.py
Alfredo Deza 7d0a072da1 pull the version and description in setup.py
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-08-04 15:11:47 -04:00

56 lines
1.9 KiB
Python

from setuptools import setup, find_packages
import re
module_file = open("teuthology/__init__.py").read()
metadata = dict(re.findall(r"__([a-z]+)__\s*=\s*['\"]([^'\"]*)['\"]", module_file))
long_description = open('README.rst').read()
setup(
name='teuthology',
version=metadata['version'],
packages=find_packages(),
author='Inktank Storage, Inc.',
author_email='ceph-qa@ceph.com',
description='Ceph test framework',
license='MIT',
keywords='teuthology test ceph cluster',
url='https://github.com/ceph/teuthology',
long_description=long_description,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7'
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
'Topic :: System :: Distributed Computing',
'Topic :: System :: Filesystems',
],
# to find the code associated with entry point
# A.B:foo first cd into directory A, open file B
# and find sub foo
entry_points={
'console_scripts': [
'teuthology = scripts.run:main',
'teuthology-nuke = scripts.nuke:main',
'teuthology-suite = scripts.suite:main',
'teuthology-ls = scripts.ls:main',
'teuthology-worker = scripts.worker:main',
'teuthology-lock = scripts.lock:main',
'teuthology-schedule = scripts.schedule:main',
'teuthology-updatekeys = scripts.updatekeys:main',
'teuthology-coverage = scripts.coverage:main',
'teuthology-results = scripts.results:main',
'teuthology-report = scripts.report:main',
'teuthology-kill = scripts.kill:main',
'teuthology-queue = scripts.queue:main',
],
},
)