Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

Commit 44b0345

Browse files
cleanup dependencies
1 parent 5c3dfb8 commit 44b0345

1 file changed

Lines changed: 23 additions & 5 deletions

File tree

setup.py

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,39 @@
11
from setuptools import setup, find_packages
22

3+
extra_cached_property = [
4+
'cached-property',
5+
]
36
extra_s3 = [
47
'boto3>=1.9',
58
'botocore',
69
]
710
extra_sql = [
811
'sqlalchemy',
912
]
10-
extra_all = extra_s3 + extra_sql
13+
extra_bin = [
14+
*extra_cached_property,
15+
*extra_s3,
16+
]
17+
extra_all = [
18+
*extra_cached_property,
19+
*extra_s3,
20+
*extra_sql,
21+
]
1122

1223
extra_test = [
1324
'pytest>=4',
1425
'pytest-runner>=4',
1526
'pytest-cov>=2',
16-
'cached-property',
17-
] + extra_sql
18-
extra_dev = extra_all + extra_test
27+
*extra_sql,
28+
*extra_cached_property,
29+
]
30+
extra_dev = [
31+
*extra_all,
32+
*extra_test,
33+
]
1934

20-
extra_ci = extra_test + [
35+
extra_ci = [
36+
*extra_test,
2137
'python-coveralls',
2238
]
2339

@@ -35,9 +51,11 @@
3551
],
3652

3753
extras_require={
54+
'cached-property': extra_cached_property,
3855
's3': extra_s3,
3956
'sqlalchemy': extra_sql,
4057

58+
'bin': extra_bin,
4159
'all': extra_all,
4260

4361
'test': extra_test,

0 commit comments

Comments
 (0)