Skip to content

Commit 97fb09d

Browse files
author
Axel Dahlberg
committedOct 28, 2019
Updated requirements
1 parent c0be697 commit 97fb09d

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed
 

‎.travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ matrix:
1717
os: osx
1818
osx_image: xcode10.2
1919
language: shell
20-
before_install:
21-
- make build
2220
install:
23-
- pip3 install dist/*.whl
21+
- make install
2422
script:
2523
- make lint
2624
- make tests

‎Makefile

+7-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ lint:
1313
@${PYTHON} -m flake8 ${CQC_DIR} ${EXAMPLES} ${TESTS}
1414

1515
python-deps:
16-
@cat requirements.txt | xargs -n 1 -L 1 $(PIP) install
16+
@${PIP} install -r requirements.txt
17+
18+
test-deps:
19+
@${PIP} install -r test_requirements.txt
1720

1821
_verified:
1922
@echo "CQC-Python is verified!"
@@ -23,6 +26,9 @@ tests:
2326

2427
verify: clean python-deps lint tests _verified
2528

29+
install: test-deps build
30+
@${PIP} install dist/*whl
31+
2632
_remove_build:
2733
@rm -f -r build
2834

‎requirements.txt

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
numpy>=1.14.0
2-
bitstring>=3.1.5
3-
flake8>=3.6.0
4-
twisted>=18.7.0
1+
numpy>=1.14.0,<1.18.0
2+
bitstring>=3.1.5,<4.0.0
3+
twisted>=19.7.0,<20.0.0
54
anytree>=2.7.2,<3.0.0

‎test_requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
flake8>=3.6.0,<4.0.0
2+
pytest>=5.2.1,<6.0.0

0 commit comments

Comments
 (0)
Please sign in to comment.