forked from syrusakbary/aiodataloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (61 loc) · 1.83 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
58
59
60
61
62
63
64
65
66
67
68
import os
import sys
from setuptools import setup, find_packages
def get_version(filename):
import os
import re
here = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(here, filename)) as f:
version_file = f.read()
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
version_file, re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find version string.")
version = get_version('aiodataloader.py')
build_require = [
'wheel>=0.37.1',
'twine>=3.7.1',
]
lint_require = [
'flake8>=3.9.0',
]
test_require = [
'pytest>=6.2.5',
'pytest-cov',
'coveralls',
'mock',
'pytest-asyncio'
]
typecheck_require = [
'mypy>=0.930',
]
setup(
name='aiodataloader-ng',
version=version,
description='Asyncio DataLoader implementation for Python',
long_description=open('README.rst').read(),
url='https://github.com/lablup/aiodataloader-ng',
download_url='https://github.com/lablup/aiodataloader/releases',
author='Syrus Akbary, Joongi Kim and other contributors',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'License :: OSI Approved :: MIT License',
],
keywords='concurrent future deferred aiodataloader',
py_modules=['aiodataloader'],
extras_require={
'build': build_require,
'lint': lint_require,
'typecheck': typecheck_require,
'test': test_require,
},
)