Skip to content

Commit aed643e

Browse files
author
Willi Ballenthin
authored
Merge pull request #72 from chapinb/master
Updated setup.py testing requirements
2 parents 3b350cb + 534f521 commit aed643e

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install lxml
3131
run: pip install lxml
3232
- name: Install python-evtx
33-
run: pip install -e .
33+
run: pip install -e .[test]
3434
- name: Run tests
3535
run: pytest tests/
3636

setup.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,22 @@
2323
packages=setuptools.find_packages(),
2424
install_requires=[
2525
'six',
26-
'pytest==4.6.11',
2726
'hexdump==3.3',
28-
'pytest-cov==2.11.1',
2927

3028
# pin deps for python 2, see #67
3129
'more_itertools==5.0.0',
3230
'zipp==1.0.0',
3331
'configparser==4.0.2',
3432
'pyparsing==2.4.7',
3533
],
34+
extras_require={
35+
# For running unit tests & coverage
36+
"test": [
37+
'pytest-cov==2.11.1',
38+
'pytest==4.6.11',
39+
'lxml==4.6.3',
40+
]
41+
},
3642
scripts=['scripts/evtx_dump.py',
3743
'scripts/evtx_dump_chunk_slack.py',
3844
'scripts/evtx_eid_record_numbers.py',

0 commit comments

Comments
 (0)