This repository has been archived by the owner on Jun 3, 2021. It is now read-only.
forked from SelfHacked/python-stream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
90 lines (76 loc) · 1.65 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
from setuptools import setup, find_packages
extra_cached_property = [
'cached-property',
]
extra_http = [
'requests',
]
extra_s3 = [
'boto3>=1.9',
'botocore',
]
extra_sql = [
'sqlalchemy',
]
extra_bin = [
*extra_cached_property,
*extra_http,
*extra_s3,
]
extra_all = [
*extra_cached_property,
*extra_http,
*extra_s3,
*extra_sql,
]
extra_test = [
'pytest>=4',
'pytest-runner>=4',
'pytest-cov>=2',
*extra_sql,
*extra_cached_property,
]
extra_dev = [
*extra_all,
*extra_test,
]
extra_ci = [
*extra_test,
'python-coveralls',
]
setup(
name='python-stream',
version='dev',
python_requires='>=3.6',
install_requires=[
'returns-decorator',
'gimme-cached-property',
'logical-func>=1.2',
],
extras_require={
'cached-property': extra_cached_property,
's3': extra_s3,
'http': extra_http,
'sqlalchemy': extra_sql,
'bin': extra_bin,
'all': extra_all,
'test': extra_test,
'dev': extra_dev,
'ci': extra_ci,
},
packages=find_packages(),
url='https://github.com/SelfHacked/python-stream',
author='SelfHacked',
entry_points={
'console_scripts': [
's3-upload=stream.io.s3:upload_cmd',
's3-download=stream.io.s3:download_cmd',
's3-get=stream.io.s3:get_cmd',
's3-copy=stream.io.s3:copy_cmd',
'ftp-download=stream.io.ftp:download_cmd',
'ftp-get=stream.io.ftp:get_cmd',
'http-download=stream.io.http:download_cmd',
'http-get=stream.io.http:get_cmd',
],
},
)