@Properties(inherit=org.bytedeco.javacpp.presets.javacpp.class,value={@Platform(cinclude={"Python.h","patchlevel.h","pyconfig.h","pymacconfig.h","pyport.h","pymacro.h","pymath.h","pytime.h","pymem.h","object.h","objimpl.h","typeslots.h","pyhash.h","pydebug.h","descrobject.h","bytearrayobject.h","bytesobject.h","unicodeobject.h","longobject.h","longintrepr.h","boolobject.h","floatobject.h","complexobject.h","rangeobject.h","memoryobject.h","tupleobject.h","listobject.h","dictobject.h","structmember.h","odictobject.h","enumobject.h","setobject.h","methodobject.h","moduleobject.h","funcobject.h","classobject.h","fileobject.h","pycapsule.h","traceback.h","sliceobject.h","cellobject.h","iterobject.h","genobject.h","warnings.h","weakrefobject.h","structseq.h","namespaceobject.h","codecs.h","pyerrors.h","pyarena.h","pythread.h","pystate.h","modsupport.h","ceval.h","sysmodule.h","osmodule.h","intrcheck.h","import.h","abstract.h","bltinmodule.h","asdl.h","Python-ast.h","node.h","code.h","compile.h","symtable.h","pythonrun.h","pylifecycle.h","eval.h","pyctype.h","pystrtod.h","pystrcmp.h","dtoa.h","fileutils.h"},link="python3.7m@.1.0!",preload={"ffi@.6","ffi@.5","libcrypto-1_1","libssl-1_1"},resource={"include","lib","libs","bin","share"}),@Platform(value="linux",preloadpath={"/usr/lib/","/usr/lib32/","/usr/lib64/"}),@Platform(value="linux-armhf",preloadpath={"/usr/arm-linux-gnueabihf/lib/","/usr/lib/arm-linux-gnueabihf/"}),@Platform(value="linux-arm64",preloadpath={"/usr/aarch64-linux-gnu/lib/","/usr/lib/aarch64-linux-gnu/"}),@Platform(value="linux-x86",preloadpath={"/usr/lib32/","/usr/lib/"}),@Platform(value="linux-x86_64",preloadpath={"/usr/lib64/","/usr/lib/"}),@Platform(value="linux-ppc64",preloadpath={"/usr/lib/powerpc64-linux-gnu/","/usr/lib/powerpc64le-linux-gnu/"}),@Platform(value="macosx",link="python3.7m!"),@Platform(value="windows",link="python37")},target="org.bytedeco.cpython",global="org.bytedeco.cpython.global.python",helper="org.bytedeco.cpython.helper.python") @NoException public class python extends Object implements InfoMapper
Constructor and Description |
---|
python() |
Modifier and Type | Method and Description |
---|---|
static File |
cachePackage()
Returns
Loader.cacheResource("/org/bytedeco/cpython/" + Loader.getPlatform() + "/lib/") . |
static File[] |
cachePackages()
Returns
{f, new File(f, "python3.7"), new File(f, "python3.7/lib-dynload"), new File(f, "python3.7/site-packages")} where File f = cachePackage() . |
void |
map(InfoMap infoMap) |
public static File cachePackage() throws IOException
Loader.cacheResource("/org/bytedeco/cpython/" + Loader.getPlatform() + "/lib/")
.IOException
public static File[] cachePackages() throws IOException
{f, new File(f, "python3.7"), new File(f, "python3.7/lib-dynload"), new File(f, "python3.7/site-packages")}
where File f = cachePackage()
.IOException
public void map(InfoMap infoMap)
map
in interface InfoMapper
Copyright © 2020. All rights reserved.