Skip to content

Commit 7d66a52

Browse files
committed
don't install requirements directly
Signed-off-by: Harsh Modi <hmodi@redhat.com>
1 parent 7532be0 commit 7d66a52

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

setup.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
"""
16-
17-
# !/usr/bin/env python
18-
19-
import re
20-
2116
from setuptools import setup, find_packages
2217

2318
version = "1.2.1"
@@ -33,18 +28,6 @@
3328
in future. And Ronda service will be hosted in AWS S3.
3429
"""
3530

36-
37-
def _get_requirements(path):
38-
try:
39-
with open(path, encoding="utf-8") as f:
40-
packages = f.read().splitlines()
41-
except (IOError, OSError) as ex:
42-
raise RuntimeError(f"Can't open file with requirements: {ex}") from ex
43-
packages = (p.strip() for p in packages if not re.match(r'^\s*#', p))
44-
packages = list(filter(None, packages))
45-
return packages
46-
47-
4831
setup(
4932
zip_safe=True,
5033
name="charon",
@@ -62,7 +45,6 @@ def _get_requirements(path):
6245
author="RedHat EXD SPMM",
6346
license="APLv2",
6447
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
65-
install_requires=_get_requirements('requirements.txt'),
6648
package_data={'charon': ['schemas/*.json']},
6749
test_suite="tests",
6850
entry_points={

0 commit comments

Comments
 (0)