summarylogtreecommitdiffstats
path: root/use_system_astropy_helpers.patch
blob: c1ff5a5e4ed21e78e6cc588e6b5c1c38ee86ace0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/astropy_helpers/commands/build_sphinx.py	2019-11-18 09:57:11.000000000 +0800
+++ b/astropy_helpers/commands/build_sphinx.py	2020-12-05 10:25:49.420269236 +0800
@@ -137,7 +137,7 @@
         build_cmd = self.get_finalized_command('build')
         build_cmd_path = os.path.abspath(build_cmd.build_lib)
 
-        ah_importer = pkgutil.get_importer('astropy_helpers')
+        ah_importer = pkgutil.get_importer('/usr/lib/python3.9/site-packages/astropy_helpers')
         if ah_importer is None:
             ah_path = '.'
         else: