File: 001-doc-system-path-skopt.patch

package info (click to toggle)
scikit-optimize 0.10.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,672 kB
  • sloc: python: 10,659; javascript: 438; makefile: 136; sh: 6
file content (17 lines) | stat: -rw-r--r-- 432 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Define system path for skopt in doc
 Fix for unable to find module skopt during build
 -define the path.
Forwarded: not-needed
Author: Yogeswaran Umasankar <yogu@debian.org>
Last-Update: 2024-07-28

--- a/doc/conf.py
+++ b/doc/conf.py
@@ -24,6 +24,7 @@ import warnings
 
 from packaging.version import parse
 
+sys.path.insert(0, os.path.abspath(".."))
 import skopt
 
 sys.path.insert(0, os.path.abspath('sphinxext'))