Commit 126f37f4 authored by Pavel Vainerman's avatar Pavel Vainerman

(python): вернул UInterface

parent 68847c82
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
Name: libuniset Name: libuniset
Version: 1.6 Version: 1.6
Release: alt3 Release: alt4
Summary: UniSet - library for building distributed industrial control systems Summary: UniSet - library for building distributed industrial control systems
...@@ -316,6 +316,9 @@ mv -f %buildroot%python_sitelibdir/%oname/%oname.py %buildroot%python_sitelibdir ...@@ -316,6 +316,9 @@ mv -f %buildroot%python_sitelibdir/%oname/%oname.py %buildroot%python_sitelibdir
%exclude %_pkgconfigdir/libUniSet.pc %exclude %_pkgconfigdir/libUniSet.pc
%changelog %changelog
* Tue Mar 05 2013 Pavel Vainerman <pv@altlinux.ru> 1.6-alt4
- restote UInterface for python
* Tue Mar 05 2013 Pavel Vainerman <pv@altlinux.ru> 1.6-alt3 * Tue Mar 05 2013 Pavel Vainerman <pv@altlinux.ru> 1.6-alt3
- add doc for python bindings - add doc for python bindings
- rebuild wrapper files with new swig - rebuild wrapper files with new swig
......
...@@ -3,10 +3,6 @@ ...@@ -3,10 +3,6 @@
import sys import sys
sys.path.append('./.libs/')
sys.path.append('pyUniSet/.libs/')
sys.path.append('pyUniSet/')
from pyUExceptions import * from pyUExceptions import *
from pyUConnector import * from pyUConnector import *
from pyUModbus import * from pyUModbus import *
......
if DISABLE_PYTHON if DISABLE_PYTHON
else else
pyexec_LTLIBRARIES = _pyUConnector.la _pyUModbus.la _pyUExceptions.la pyexec_LTLIBRARIES = _pyUConnector.la _pyUModbus.la _pyUExceptions.la _pyUniSet.la
#_pyUniSet.la
_pyUniSet_la_SOURCES = UInterface.cc UInterface_wrap.cxx
# DEPRECATED (use UConnector) _pyUniSet_la_CXXFLAGS = $(UNISET_CFLAGS) $(PYTHON_CFLAGS)
#_pyUniSet_la_SOURCES = UInterface.cc UInterface_wrap.cxx _pyUniSet_la_LDFLAGS = -module -avoid-version
#_pyUniSet_la_CXXFLAGS = $(UNISET_CFLAGS) $(PYTHON_CFLAGS) _pyUniSet_la_LIBADD = $(UNISET_LIBS) $(PYTHON_LIBS)
#_pyUniSet_la_LDFLAGS = -module -avoid-version
#_pyUniSet_la_LIBADD = $(UNISET_LIBS) $(PYTHON_LIBS)
UInterface_wrap.cxx: UInterface.i UInterface.h UInterface_wrap.cxx: UInterface.i UInterface.h
swig -python -c++ -classic UInterface.i swig -python -c++ -classic UInterface.i
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -12,3 +12,5 @@ sys.path.append( _py_uniset_dir ) ...@@ -12,3 +12,5 @@ sys.path.append( _py_uniset_dir )
from pyUConnector import * from pyUConnector import *
from pyUExceptions import * from pyUExceptions import *
from pyUModbus import * from pyUModbus import *
import UniXML
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