File tree 1 file changed +13
-8
lines changed
1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,20 @@ def get_long_description():
19
19
return f .read ()
20
20
21
21
22
+ def get_install_requires ():
23
+ install_requires = []
24
+ with open ("requirements.txt" , "r" ) as f :
25
+ for line in f :
26
+ dependency = line .rstrip ()
27
+ if not dependency :
28
+ break
29
+ install_requires .append (dependency )
30
+ return install_requires
31
+
32
+
22
33
setup (
23
34
name = "centraldogma-python" ,
24
- version = "0.2 .0" ,
35
+ version = "0.3 .0" ,
25
36
description = "Python client library for Central Dogma" ,
26
37
long_description = get_long_description (),
27
38
long_description_content_type = "text/markdown" ,
@@ -30,13 +41,7 @@ def get_long_description():
30
41
31
42
license = "Apache License 2.0" ,
32
43
packages = ["centraldogma" , "centraldogma.data" ],
33
- install_requires = [
34
- "httpx" ,
35
- "marshmallow" ,
36
- "dataclasses-json" ,
37
- "pydantic" ,
38
- "python-dateutil" ,
39
- ],
44
+ install_requires = get_install_requires (),
40
45
python_requires = ">=3.7" ,
41
46
keywords = "centraldogma" ,
42
47
classifiers = [
You can’t perform that action at this time.
0 commit comments