Skip to content

Commit

Permalink
fix version check for py310 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-jansen committed Oct 27, 2022
1 parent 8f1db08 commit acbf0bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,29 +70,24 @@ Optional:
There are wheels for Linux and Mac OS X that you can install with

```python
pip
install
bcolz - zipline
pip install bcolz-zipline
```

Then also install NumPy with

```python
pip
install
numpy
pip install "numpy<1.23"
```

and test your installation with

```python
python - c
'import bcolz;bcolz.test()'
python -c 'import bcolz;bcolz.test()'
```

## Building

There are different ways to compile bcolz, depending if you want to link with an already installed Blosc library or not.
There are different ways to compile bcolz, depending on whether you want to link with an already installed Blosc library or not.

### Compiling with an installed Blosc library (recommended)

Expand Down
4 changes: 2 additions & 2 deletions bcolz/py2help_tests.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sys

if sys.version[0:3] >= '3.3':
if sys.version_info.minor >= 3:
from unittest.mock import Mock
else:
from mock import Mock
raise ImportError('Python 3.3 or greater is required')
Mock = Mock

0 comments on commit acbf0bd

Please sign in to comment.