Skip to content

Commit 5700b16

Browse files
committed
add six package to requirements
1 parent ca3c13b commit 5700b16

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* Add six package to requirements
12
* Fixed error while passing date parameter in execute
23

34
## 2.12.2 ##

requirements.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
grpcio==1.39.0
1+
aiohttp==3.7.4
2+
enum-compat>=0.0.1
3+
grpcio>=1.5.0
24
packaging
35
protobuf>3.13.0,<5.0.0
46
pytest==6.2.4
5-
aiohttp==3.7.4
6-
six<2
7+
six<2

setup.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
with open("README.md", "r") as r:
55
long_description = r.read()
66

7+
with open("requirements.txt") as r:
8+
requirements = []
9+
for line in r.readlines():
10+
line = line.strip()
11+
if line != "":
12+
requirements.append(line)
13+
714
setuptools.setup(
815
name="ydb",
916
version="2.12.2", # AUTOVERSION
@@ -23,13 +30,7 @@
2330
"Programming Language :: Python :: 3",
2431
"Programming Language :: Python :: 3.6",
2532
],
26-
install_requires=(
27-
"protobuf>=3.13.0",
28-
"grpcio>=1.5.0",
29-
"enum-compat>=0.0.1",
30-
"packaging",
31-
"six<2",
32-
),
33+
install_requires=requirements, # requirements.txt
3334
options={"bdist_wheel": {"universal": True}},
3435
extras_require={
3536
"yc": ["yandexcloud", ],

0 commit comments

Comments
 (0)