Skip to content

Commit

Permalink
Better define the install requirements (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaramallion committed Feb 3, 2022
1 parent a11d28e commit 7ac26f0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
15 changes: 15 additions & 0 deletions docs/changes/v1.2.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.. _v1.2.0:

1.2.0
=====

Fixes
.....

* Fixed being unable to build from source using the PyPI package

Changes
.......

* Dropped support for Python 3.6
* Added support for Python 3.10
2 changes: 1 addition & 1 deletion openjpeg/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import re


__version__ = '1.2.0'
__version__ = '1.2.1'


VERSION_PATTERN = r"""
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cython
numpy>=1.20.0
numpy>=1.20.0; python_version == '3.7'
numpy>=1.22.0; python_version >= '3.8'
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,10 @@ def setup_oj():
"Topic :: Software Development :: Libraries",
],
python_requires = ">=3.7",
install_requires = ["numpy>=1.20"],
install_requires = [
"numpy >= 1.20; python_version == '3.7'",
"numpy >= 1.22; python_version >= '3.8'",
],
ext_modules = [ext],
# Plugin registrations
entry_points = {
Expand Down

0 comments on commit 7ac26f0

Please sign in to comment.