Skip to content

Commit

Permalink
#451 fix tests, requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Mar 10, 2022
1 parent 8e9730f commit 2e1dee3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
13 changes: 11 additions & 2 deletions libraries/models/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@

import sys
from setuptools import setup, find_packages
from os.path import join, dirname as dn, realpath


HERE = dn(realpath(__file__))

NAME = "cloudharness_model"
VERSION = "1.0.0"
REQUIREMENTS = [l[0:-1].replace(" ", "") for l in open("requirements.txt") if "#" not in l]
REQUIREMENTS = [
"swagger-ui-bundle >= 0.0.2",
"python_dateutil >= 2.6.0",
"setuptools >= 21.0.0",
"pyhumps"
]
print(REQUIREMENTS)
setup(name=NAME, version=VERSION, install_requires=REQUIREMENTS)
setup(name=NAME, version=VERSION, install_requires=REQUIREMENTS)
1 change: 1 addition & 0 deletions libraries/models/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pytest~=4.6.7 # needed for python 3.4
pytest-cov>=2.8.1
pytest-randomly==1.2.3 # needed for python 3.4
oyaml

0 comments on commit 2e1dee3

Please sign in to comment.