-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (39 loc) · 1.28 KB
/
setup.py
File metadata and controls
42 lines (39 loc) · 1.28 KB
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
import os.path as osp
from setuptools import setup, find_namespace_packages
cdir = osp.abspath(osp.dirname(__file__))
README = open(osp.join(cdir, 'readme.rst')).read()
CHANGELOG = open(osp.join(cdir, 'changelog.rst')).read()
version_fpath = osp.join(cdir, 'diskbench', 'version.py')
version_globals = {}
with open(version_fpath) as fo:
exec(fo.read(), version_globals)
setup(
name='disk-bench',
version=version_globals['VERSION'],
description='CLI tool to benchmark drive performance',
long_description='\n\n'.join((README, CHANGELOG)),
author='Randy Syring',
author_email='randy@thesyrings.us',
url='https://github.com/rsyring/disk-bench',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
license='MIT',
packages=find_namespace_packages(include=['diskbench', 'diskbench.*']),
include_package_data=True,
install_requires=[
'click',
'sh',
'tableprint',
],
entry_points={
'console_scripts': [
'disk-bench=diskbench.cli:db',
],
},
)