Commit 5c43161c authored by Sylvain Guieu's avatar Sylvain Guieu

fixing the yaml dependency to PyYAML

parent fb90d9ef
......@@ -11,5 +11,3 @@ config_path.append(os.path.join(sys.prefix, "share", __pkg__, "config"))
# also include the module/config directory in case it was not installed py setup.py
config_path.append(os.path.join(__module_dir__, "config"))
......@@ -12,7 +12,7 @@ def find_config(config_name):
def load_yaml(config_name):
with open(find_config(config_name)) as f:
d = yaml.load(f.read())
d = yaml.load(f.read(), Loader=yaml.CLoader)
return d
......
......@@ -7,10 +7,10 @@ import sys
from setuptools import setup
name = "hrmtools"
version='0.1.dev3' # https://www.python.org/dev/peps/pep-0440/
version='0.1.dev4' # https://www.python.org/dev/peps/pep-0440/
author='Sylvain Guieu'
author_email='sylvain.guieu@univ-grenoble-alpes.fr'
install_requires = ['yaml-1.3', 'openpyxl>=3.0']
install_requires = ['PyYAML', 'openpyxl>=3.0']
# in setuptools the egg fragment must have the version in it
# unlike with the pip install git+https://gricad-gitlab.univ-grenoble-alpes.fr/guieus/instru#egg=instru
dependency_links=[]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment