diff options
Diffstat (limited to 'PC')
-rw-r--r-- | PC/_findvs.cpp | 12 | ||||
-rw-r--r-- | PC/config.c | 3 |
2 files changed, 4 insertions, 11 deletions
diff --git a/PC/_findvs.cpp b/PC/_findvs.cpp index dd7c1fc..ecc68e8 100644 --- a/PC/_findvs.cpp +++ b/PC/_findvs.cpp @@ -12,10 +12,6 @@ #include <Windows.h> #include <Strsafe.h> #include "external\include\Setup.Configuration.h" -#pragma comment(lib, "ole32.lib") -#pragma comment(lib, "oleaut32.lib") -#pragma comment(lib, "version.lib") -#pragma comment(lib, "Microsoft.VisualStudio.Setup.Configuration.Native.lib") #include <Python.h> @@ -236,7 +232,7 @@ static int exec_findvs(PyObject *module) return 0; // success } -PyDoc_STRVAR(findvs_doc, "The _findvs helper module"); +PyDoc_STRVAR(findvs_doc, "The _distutils_findvs helper module"); static PyModuleDef_Slot findvs_slots[] = { { Py_mod_exec, exec_findvs }, @@ -245,7 +241,7 @@ static PyModuleDef_Slot findvs_slots[] = { static PyModuleDef findvs_def = { PyModuleDef_HEAD_INIT, - "_findvs", + "_distutils_findvs", findvs_doc, 0, // m_size NULL, // m_methods @@ -256,8 +252,8 @@ static PyModuleDef findvs_def = { }; extern "C" { - PyMODINIT_FUNC PyInit__findvs(void) + PyMODINIT_FUNC PyInit__distutils_findvs(void) { return PyModuleDef_Init(&findvs_def); } -}
\ No newline at end of file +} diff --git a/PC/config.c b/PC/config.c index 699e1d0..91f15b5 100644 --- a/PC/config.c +++ b/PC/config.c @@ -69,7 +69,6 @@ extern PyObject* _PyWarnings_Init(void); extern PyObject* PyInit__string(void); extern PyObject* PyInit__stat(void); extern PyObject* PyInit__opcode(void); -extern PyObject* PyInit__findvs(void); /* tools/freeze/makeconfig.py marker for additional "extern" */ /* -- ADDMODULE MARKER 1 -- */ @@ -162,8 +161,6 @@ struct _inittab _PyImport_Inittab[] = { {"_stat", PyInit__stat}, {"_opcode", PyInit__opcode}, - {"_findvs", PyInit__findvs}, - /* Sentinel */ {0, 0} }; |