File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 2828 build_dir = "../build/lib.%s-%s" % (sysconfig .get_platform (),
2929 sys .implementation .cache_tag )
3030 if not os .path .exists (build_dir ):
31- print ("""
32- Compiled version of pyosmium not found, please build pyosmium for Python {}.{}
33- before building the documentation.
34- """ .format (* sys .version_info ))
35- raise RuntimeError ("Cannot find pyosmium" )
31+ # pybuild
32+ build_dir = "../.pybuild/cpython3_%s.%s_pyosmium/build" % (
33+ sys .version_info [0 ], sys .version_info [1 ]
34+ )
35+
36+ if not os .path .exists (build_dir ):
37+ print ("""
38+ Compiled version of pyosmium not found, please build pyosmium for Python {}.{}
39+ before building the documentation.
40+ """ .format (* sys .version_info ))
41+ raise RuntimeError ("Cannot find pyosmium" )
3642
3743# insert after the current directory
3844sys .path .insert (0 , os .path .normpath (os .path .join (os .path .abspath ('.' ), build_dir )))
You can’t perform that action at this time.
0 commit comments