Commit b3c29567 authored by dboe's avatar dboe
Browse files

better hack parsing setup.cfg

parent e303d6b3
Pipeline #77643 failed with stage
in 1 minute and 10 seconds
......@@ -23,7 +23,9 @@ before_script:
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
- pip install six numpy sympy scipy pathlib rna>=0.1.0.dev2 sortedcontainers # hack because of bug in setuptools (Optimal would be 'pip install .' but install_requires in setup.cfg not read. See https://github.com/pypa/setuptools/issues/456)
# hack because of bug in setuptools (Optimal would be 'pip install .' but install_requires in setup.cfg not read. See https://github.com/pypa/setuptools/issues/456)
- python -c "import configparser; config = configparser.ConfigParser(); config.read('setup.cfg'); deps = config['metadata']['install_requires'].split('\n'); import subprocess; subprocess.call(['pip', 'install'] + [x for x in deps if x])"
- pip install matplotlib
test:
script:
......
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