Install horizon with upper-constraints.txt in post-install

Change-Id: Ib57a7833a184350a03d64dc9c5e150e91000b8c2
This commit is contained in:
Duc Truong 2018-10-01 09:44:36 -07:00
parent bea959142e
commit ed828f168b
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
"phantomjs-prebuilt": "2.1.x"
},
"scripts": {
"postinstall": "if [ ! -d .tox ] || [ ! -d .tox/karma ]; then tox -ekarma --notest; python3 -m pip install -U -t ./.tox/karma/lib/`python3 -V|tr -d ' '|tr 'P' 'p'|cut -c -9`/site-packages/ ../horizon; fi",
"postinstall": "if [ ! -d .tox ] || [ ! -d .tox/karma ]; then tox -ekarma --notest; python3 -m pip install -U -t ./.tox/karma/lib/`python3 -V|tr -d ' '|tr 'P' 'p'|cut -c -9`/site-packages/ -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt ../horizon; fi",
"test": "karma start senlin_dashboard/karma.conf.js --single-run",
"lint": "eslint --no-color senlin_dashboard/static"
},