File: 0001-add-module-path-for-automodule-directive.patch

package info (click to toggle)
fonttools 4.57.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,040 kB
  • sloc: python: 140,483; xml: 103; makefile: 41
file content (21 lines) | stat: -rw-r--r-- 578 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Hideki Yamane <henrich@debian.org>
Date: Mon, 28 Aug 2017 20:10:24 +0900
Subject: add module path for automodule directive

---
 Doc/source/conf.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Doc/source/conf.py b/Doc/source/conf.py
index 4976bd8..1a54c3a 100644
--- a/Doc/source/conf.py
+++ b/Doc/source/conf.py
@@ -20,6 +20,8 @@
 # import sys
 # sys.path.insert(0, os.path.abspath('.'))
 
+import sys,os
+sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/../../Lib')
 
 # -- General configuration ------------------------------------------------