From ca0fc2f788d341fbed9056ac4f34ddd09ef61c3d Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 16 Dec 2018 18:55:42 -0500 Subject: project: added rules and definitions for building the build-local pycompile. --- profiles/linkage/pycompile.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 profiles/linkage/pycompile.h (limited to 'profiles') diff --git a/profiles/linkage/pycompile.h b/profiles/linkage/pycompile.h new file mode 100644 index 0000000..ad74185 --- /dev/null +++ b/profiles/linkage/pycompile.h @@ -0,0 +1,24 @@ +#ifndef PY_LINKAGE_PYCOMPILE_H +#define PY_LINKAGE_PYCOMPILE_H + +PY_INIT_FUNC(_decimal); +PY_INIT_FUNC(_elementtree); +PY_INIT_FUNC(_heapq); +PY_INIT_FUNC(_posixsubprocess); + +PY_INIT_FUNC(math); +PY_INIT_FUNC(readline); +PY_INIT_FUNC(select); +PY_INIT_FUNC(termios); + +#define PY_IMPORT_INITTAB_PYCOMPILE_CORE \ + {"_decimal", PyInit__decimal}, \ + {"_elementtree", PyInit__elementtree}, \ + {"_heapq", PyInit__heapq}, \ + {"_posixsubprocess", PyInit__posixsubprocess}, \ + {"math", PyInit_math}, \ + {"readline", PyInit_readline}, \ + {"select", PyInit_select}, \ + {"termios", PyInit_termios} + +#endif -- cgit v1.2.3