summarylogtreecommitdiffstats
path: root/use_system_astropy_helpers.patch
blob: 45e27372e3a8e81a4cd2f8c7c5bfb499e1a1565a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/astropy_helpers/commands/build_sphinx.py	2018-12-05 10:10:37.000000000 +0800
+++ b/astropy_helpers/commands/build_sphinx.py	2018-12-05 15:15:31.598247890 +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.7/site-packages/astropy_helpers')
         if ah_importer is None:
             ah_path = '.'
         else: