summarylogtreecommitdiffstats
path: root/use_system_astropy_helpers.patch
blob: ba2465a3bc1d9217ae14e22af33f43b6ca3fa966 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/astropy_helpers/commands/build_sphinx.py	2019-02-23 12:48:01.000000000 +0800
+++ b/astropy_helpers/commands/build_sphinx.py	2019-11-19 15:06:33.600005092 +0800
@@ -162,7 +162,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: