Skip to content

Commit

Permalink
Specifying the numpy version based on implementation_name.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Aug 7, 2019
1 parent 810964e commit 7e9046d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions setup.py
Expand Up @@ -48,8 +48,11 @@
""".format(
NO_EXTENSIONS_ENV
)
REQUIREMENTS = ("numpy >= 1.17.0", "six >= 1.12.0")
EXTRAS_REQUIRE = {}
REQUIREMENTS = ("six >= 1.12.0",)
EXTRAS_REQUIRE = {
':implementation_name == "pypy"': ["numpy == 1.15.4"],
':implementation_name == "cpython"': ["numpy >= 1.17.0"],
}
DESCRIPTION = (
u"Helper for B\u00e9zier Curves, Triangles, and Higher Order Objects"
)
Expand Down

0 comments on commit 7e9046d

Please sign in to comment.