Fixing distutils setup.py problems and removing warning in cpp source

parent 71f09991
......@@ -4,8 +4,8 @@ module1 = Extension('va',
define_macros = [('VA_PYTHON_VERSION_MAJOR', '2017'), ('VA_PYTHON_VERSION_MINOR', 'c')],
include_dirs = ['../VABase/include','../VANet/include'],
libraries = ['VABase', 'VANet', 'VistaBase', 'VistaAspects', 'VistaInterProcComm'],
library_dirs = ['../build_win32-x64.vc14/lib','../../VisTA/build_win32-x64.vc14/lib'],
sources = ['vasingleton.cpp'])
library_dirs = ['../build_win32-x64.vc14/lib','../../ViSTA/build_win32-x64.vc14/lib'],
sources = ['src/vasingleton.cpp'])
setup (name = 'va',
version = '2017.c',
......
......@@ -30,7 +30,5 @@ static struct PyModuleDef vamoduledef =
PyMODINIT_FUNC PyInit_va( void )
{
PyObject* dict;
PyObject* module = PyModule_Create( &vamoduledef );
return module;
return PyModule_Create(&vamoduledef);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment