-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (42 loc) · 1.25 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
import os.path
import re
from setuptools import setup, find_packages
with open(
os.path.join(os.path.dirname(__file__), 'benchmark', '__init__.py')
) as v_file:
package_version = \
re.compile(r'.*__version__ = \'(.*?)\'', re.S) \
.match(v_file.read()) \
.group(1)
dependencies = [
'argcomplete',
'requests',
'easycli',
]
setup(
name='benchmark',
version=package_version,
author='Mohammad Sheikhian',
author_email='[email protected]',
url='https://github.com/mohammadsheikhian/benchmark',
long_description=open('README.md').read(),
long_description_content_type='text/markdown', # This is important!
install_requires=dependencies,
packages=find_packages(exclude=['tests']),
entry_points={
'console_scripts': [
'benchmark = benchmark.cli:main'
]
},
license='MIT',
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'Natural Language :: English',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development',
]
)