1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
From: Ole Streicher <olebole@debian.org>
Date: Mon, 24 Jun 2024 16:50:02 +0200
Subject: Don't try to upgrade astropy_helpers
---
setup.cfg | 3 +++
setup.py | 3 +--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/setup.cfg b/setup.cfg
index a78b141..4bdbf27 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -102,6 +102,9 @@ markers =
[ah_bootstrap]
auto_use = True
+auto_upgrade = False
+use_git = False
+offline = True
[pycodestyle]
diff --git a/setup.py b/setup.py
index 85c1ce8..7f0bfa3 100755
--- a/setup.py
+++ b/setup.py
@@ -6,8 +6,7 @@ import sys
# Workaround for https://github.com/pypa/pip/issues/6163
sys.path.insert(0, os.path.dirname(__file__))
-
-import ah_bootstrap
+sys.path.insert(0, os.path.dirname(__file__) + '/astropy_helpers')
import builtins
|