File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,9 +19,20 @@ def get_long_description():
1919 return f .read ()
2020
2121
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+
2233setup (
2334 name = "centraldogma-python" ,
24- version = "0.2 .0" ,
35+ version = "0.3 .0" ,
2536 description = "Python client library for Central Dogma" ,
2637 long_description = get_long_description (),
2738 long_description_content_type = "text/markdown" ,
@@ -30,13 +41,7 @@ def get_long_description():
3041 author_email = "dl_centraldogma@linecorp.com" ,
3142 license = "Apache License 2.0" ,
3243 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 (),
4045 python_requires = ">=3.7" ,
4146 keywords = "centraldogma" ,
4247 classifiers = [
You can’t perform that action at this time.
0 commit comments