From 658acb133cdf2afb6780039d67700d5b6480a5eb Mon Sep 17 00:00:00 2001 From: Sebastiaan Huber Date: Wed, 13 Jun 2018 12:34:54 +0200 Subject: [PATCH] Fix the requirements string for aiida-core and atomic_tools optional The optional needs to directly follow the dependency name. I also removed the `atomic_tools` option in `.travis.yml` when installing the aiida-quantumespresso package, as it does not have this optional requirement group --- .travis.yml | 6 +++--- setup.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index d8f643a4d..ed33a39af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,8 +35,9 @@ before_install: install: # Upgrade pip setuptools and wheel to be able to run the next command - pip install -U pip wheel setuptools reentry - # Install AiiDA with some optional dependencies - - pip install .[atomic_tools,docs,dev_precommit] + + # Install the repository with some optional dependencies + - pip install .[docs,dev_precommit] env: - TEST_TYPE="pre-commit" @@ -44,7 +45,6 @@ env: - TEST_AIIDA_BACKEND=django TEST_TYPE="tests" - TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" - before_script: - .travis-data/setup_profiles.sh - .travis-data/before_script.sh diff --git a/setup.json b/setup.json index d1b33c8a7..0723a48bc 100644 --- a/setup.json +++ b/setup.json @@ -78,7 +78,7 @@ ] }, "install_requires": [ - "aiida_core>=0.12.0,<1.0.0[atomic_tools]", + "aiida_core[atomic_tools]>=0.12.0,<1.0.0", "click" ], "license": "MIT License",