Skip to content

Commit

Permalink
setup improved
Browse files Browse the repository at this point in the history
dependencies for testing are now only installed on request
  • Loading branch information
franz-benjamin committed Dec 5, 2021
1 parent 4ae053f commit 303f7f3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,12 @@ Please note that suppressing the messages means that you have to ensure on your

## Tests

You can test the package by running
You can test the package by installing the corresponding dependencies
```bash
pip install OSMPythonTools [test]
# or: pip3 install OSMPythonTools [test]
```
and then running
```bash
pytest --verbose
```
Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@
'matplotlib',
'numpy',
'pandas',
'pytest',
'pytest-sugar',
'ujson',
'xarray',
],
extras_require={
'test': [
'pytest',
'pytest-sugar',
],
},
version=pkgVersion,
author='Franz-Benjamin Mocnik',
author_email='[email protected]',
Expand Down
1 change: 1 addition & 0 deletions version-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Observe that some of the following versions include breaking changes:
* [feature] access to history
* [feature] caching strategies introduced
* [feature] caching strategy `CachingStrategyPickle`
* [improvement] dependencies for testing are now only installed on request
* [improvement; breaking change] timestamps are now returned as objects
* [bug] metadata did not work for Api queries
* [minor bug] version was not returned as an integer
Expand Down

0 comments on commit 303f7f3

Please sign in to comment.