-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
57 lines (52 loc) · 1.8 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
from setuptools import setup, find_packages
import re
module_file = open("thrash/__init__.py").read()
metadata = dict(re.findall(r"__([a-z]+)__\s*=\s*['\"]([^'\"]*)['\"]", module_file))
long_description = open('README.rst').read()
setup(
name='fsthrash',
version=metadata['version'],
packages=find_packages(),
package_data={
'thrash.tasks': ['adjust-ulimits', 'edit_sudoers.sh', 'daemon-helper'],
# 'thrash.tasks': ['adjust-ulimits', 'edit_sudoers.sh', 'daemon-helper'],
},
author='YunHui Chen.',
author_email='[email protected]',
description='Filesystem thrash test framework',
license='MIT',
keywords='fsthrash test storage cluster',
url='https://github.com/fsthrash',
long_description=long_description,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
'Topic :: System :: Distributed Computing',
'Topic :: System :: Filesystems',
],
install_requires=['gevent',
'PyYAML',
'argparse >= 1.2.1',
'docopt',
'humanfriendly',
],
extras_require = {
'orchestra': [
'beanstalkc3 >= 0.4.0',
],
},
# 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': [
'fsthrash-suite = scripts.suite:main',
'fsthrash-results = scripts.results:main',
],
},
)