summarylogtreecommitdiffstats
path: root/astropy_helpers.patch
blob: 0f924167ac1df09801a006865c4381bf77ad6f08 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/astropy_helpers/commands/build_sphinx.py	2017-10-12 03:56:31.000000000 +0800
+++ b/astropy_helpers/commands/build_sphinx.py	2018-02-06 21:49:54.599865388 +0800
@@ -126,7 +126,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.6/site-packages/astropy_helpers')
         ah_path = os.path.abspath(ah_importer.path)
 
         # Now generate the source for and spawn a new process that runs the