-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working on Python 3.9 and 3.10: qutip photutils
- Loading branch information
Showing
7 changed files
with
41 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
{% if PY_VER == "3.8" %} | ||
{% set numpy_version = "1.19.5" %} | ||
{% else %} | ||
{% elif PY_VER in ["3.9", "3.10", "3.11"] %} | ||
{% set numpy_version = "1.23.3" %} | ||
{% elif PY_VER == "3.12" %} | ||
{% set numpy_version = "1.26.2" %} | ||
{% endif %} | ||
|
||
package: | ||
name: photutils | ||
version: "1.1.0" | ||
version: "1.10.0" | ||
|
||
requirements: | ||
build: | ||
- cython 0.29.32 | ||
- extension-helpers 1.0.0 | ||
- setuptools-scm 7.1.0 | ||
host: | ||
- numpy {{ numpy_version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
--- src-original/setup.py 2022-05-24 19:43:02.000000000 +0000 | ||
+++ src/setup.py 2023-04-06 16:08:59.631926941 +0000 | ||
@@ -4,5 +4,9 @@ | ||
# NOTE: The configuration for the package, including the name, version, and | ||
# other information are set in the setup.cfg file. | ||
@@ -1,6 +1,10 @@ | ||
#!/usr/bin/env python | ||
# Licensed under a 3-clause BSD style license - see LICENSE.rst | ||
|
||
+# Chaquopy | ||
+import builtins | ||
+builtins.__NUMPY_SETUP__ = True # Prevent the compiled parts from being imported. | ||
+ | ||
import sys | ||
from setuptools import setup | ||
|
||
from extension_helpers import get_extensions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
{% if PY_VER == "3.8" %} | ||
{% set numpy_version = "1.19.5" %} | ||
{% set scipy_version = "1.4.1" %} | ||
{% elif PY_VER == "3.9" %} | ||
{% set numpy_version = "1.23.3" %} | ||
{% set scipy_version = "1.6.3" %} | ||
{% elif PY_VER == "3.10" %} | ||
{% set numpy_version = "1.23.3" %} | ||
{% set scipy_version = "1.8.1" %} | ||
{% endif %} | ||
|
||
package: | ||
name: qutip | ||
version: "4.7.1" | ||
version: "4.7.3" | ||
|
||
requirements: | ||
build: | ||
- cython 0.29.34 | ||
- packaging 23.1 | ||
host: | ||
- numpy 1.19.5 | ||
- scipy 1.4.1 | ||
- numpy {{ numpy_version }} | ||
- scipy {{ scipy_version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ package: | |
version: "0.18.3" | ||
|
||
build: | ||
number: 2 | ||
number: 3 | ||
|
||
requirements: | ||
host: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters