Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Commit 45dcf54

Browse files
committed
Build tweaks
1 parent 67c69b2 commit 45dcf54

3 files changed

Lines changed: 12 additions & 8 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ python:
55
- '3.6'
66
- '3.7'
77
install:
8-
- pip install pytest unittest2
8+
- pip install -r ./dev-requirements.txt
99
- python ./setup.py develop
1010
script:
1111
- python3 -m pytest
@@ -22,7 +22,7 @@ jobs:
2222
include:
2323
- stage: lint
2424
python: 3.7
25-
install: pip install black flake8
25+
install: pip install -r ./dev-requirements.txt
2626
script:
2727
- black --check ./emv
2828
- flake8 ./emv

dev-requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
flake8==3.8.4
2+
black==20.8b1
3+
pytest==6.1.2
4+
unittest2==1.1.0

setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
python_requires=">=3.4",
3131
packages=["emv", "emv.protocol", "emv.command"],
3232
install_requires=[
33-
"enum-compat",
34-
"argparse",
35-
"pyscard",
36-
"pycountry",
37-
"terminaltables",
38-
"click",
33+
"enum-compat==0.0.3",
34+
"argparse==1.4.0",
35+
"pyscard==2.0.0",
36+
"pycountry==20.7.3",
37+
"terminaltables==3.1.0",
38+
"click==7.1.2",
3939
],
4040
entry_points={"console_scripts": {"emvtool=emv.command.client:run"}},
4141
)

0 commit comments

Comments
 (0)