From: garciadeblas Date: Thu, 8 May 2025 10:59:42 +0000 (+0200) Subject: Add install_requires to setup.py X-Git-Tag: v18.0.0~3 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=ebebbbc5a8462782b4e3b5514dfbf0c274df8ddd;p=osm%2Fcommon.git Add install_requires to setup.py Change-Id: I31430a356934fa421d43fc2a191cc190ef032e39 Signed-off-by: garciadeblas --- diff --git a/MANIFEST.in b/MANIFEST.in index e8fc479..503547f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -17,5 +17,6 @@ ## include README.rst +include requirements.txt recursive-include osm_common *.py *.xml *.sh *.txt -recursive-include devops-stages * \ No newline at end of file +recursive-include devops-stages * diff --git a/setup.py b/setup.py index 390ca7d..4172fc8 100644 --- a/setup.py +++ b/setup.py @@ -25,6 +25,10 @@ here = os.path.abspath(os.path.dirname(__file__)) _name = "osm_common" README = open(os.path.join(here, "README.rst")).read() +# Read requirements +with open("requirements.txt") as f: + requirements = f.read().splitlines() + setup( name=_name, description="OSM common utilities", @@ -42,4 +46,5 @@ setup( setup_requires=["setuptools-version-command"], packages=[_name], include_package_data=True, + install_requires=requirements, )