File tree Expand file tree Collapse file tree 4 files changed +17
-3
lines changed
Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,18 @@ for complexity of deep learning architectures.
2828
2929## Installation
3030
31- Install with pip from [ pypi] ( https://pypi.python.org/pypi/bristol ) .
31+ Install with pip from [ pypi] ( https://pypi.python.org/pypi/bristol ) , as of 0.2.14 we prefer Python > 3.9
3232
3333``` bash
3434pip install bristol
3535```
3636
37+ Running tests
38+
39+ ``` bash
40+ bash run_tests.py
41+ ```
42+
3743To use the latest development version
3844
3945``` bash
Original file line number Diff line number Diff line change 1- __version__ = '0.2.12 '
1+ __version__ = '0.2.14 '
Original file line number Diff line number Diff line change 1+ #
2+ # Run tests
3+ #
4+ python - m unittest discover test
Original file line number Diff line number Diff line change 66with open ('README.md' ) as f :
77 long_description = f .read ()
88
9+ import sys
10+ if (sys .version_info .major , sys .version_info .minor ) < (3 ,9 ):
11+ sys .exit (' Python <= 3.9 is not supported or preferred' )
12+
913setup (
1014 name = 'bristol' ,
1115 version = __version__ ,
2024 install_requires = [
2125 'numpy >= 1.11' ,
2226 'torch >= 1.3.0' ,
23- 'torchvision >= 0.4.1a0+d94043a '
27+ 'torchvision >= 0.4.1 '
2428 ],
2529 test_suite = "test" ,
2630 zip_safe = False
You can’t perform that action at this time.
0 commit comments