Skip to content

Commit

Permalink
setup: minor maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jan 11, 2023
1 parent 6117d0e commit 2d909fc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
- enh: add support for PicoQuant cor file format
- ref: code cleanup
- setup: modernize build pipeline
- tests: remove deprecated pytest-runner
- setup: require Python 3.10
1.1.8
- docs: fix typo in legacy PDF (#195)
1.1.7
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@
"wxPython >= 4.0.1",
],
},
setup_requires=["cython", 'numpy', 'pytest-runner'],
tests_require=["pytest", "urllib3", "simplejson"],
setup_requires=["cython", 'numpy'],
python_requires='>=3.10, <4',
# scripts
entry_points={
Expand Down
11 changes: 4 additions & 7 deletions tests/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
### Test Scripts


Execute all tests using `setup.py` in the parent directory:
Execute all tests from the repository root:

python setup.py test
pip install -r tests/requirements.txt
pytest tests


### Running single tests

Directly execute the scripts, e.g.


python test_simple.py



pytest tests/test_simple.py

0 comments on commit 2d909fc

Please sign in to comment.