Commit 62f5bb23 authored by Pavel Vainerman's avatar Pavel Vainerman

(python): исправления упаковки файлов питон

parent 1e3dc453
......@@ -322,16 +322,6 @@ SharedMemoryPlus extension ('all in one') for libuniset
%makeinstall_std
rm -f %buildroot%_libdir/*.la
%if_enabled python
mkdir -p %buildroot%python_sitelibdir/%oname
mv -f %buildroot%python_sitelibdir/*.* %buildroot%python_sitelibdir/%oname/
%ifarch x86_64
mv -f %buildroot%python_sitelibdir_noarch/* %buildroot%python_sitelibdir/%oname
%endif
%endif
%files utils
%_bindir/%oname-admin
%_bindir/%oname-mb*
......@@ -398,7 +388,8 @@ mv -f %buildroot%python_sitelibdir_noarch/* %buildroot%python_sitelibdir/%oname
%if_enabled python
%files -n python-module-%oname
%python_sitelibdir/%oname/
%python_sitelibdir/*
%python_sitelibdir_noarch/%oname/*
%endif
%if_enabled netdata
......
......@@ -6,7 +6,8 @@ SUBDIRS=pyUniSet
#libUniSet2Python_la_SOURCES =
#libUniSet2Python_la_LIBADD = pyUniSet/_pyUniSet.la
python_SCRIPTS = *.py
pydir=$(pkgpythondir)
py_DATA = *.py
include $(top_builddir)/include.mk
......
if DISABLE_PYTHON
else
python_SCRIPTS = pyUniSet.py pyUConnector.py pyUModbus.py pyUExceptions.py
#python_SCRIPTS = pyUniSet.py pyUConnector.py pyUModbus.py pyUExceptions.py
pydir=$(pkgpythondir)
py_DATA = pyUniSet.py pyUConnector.py pyUModbus.py pyUExceptions.py
pyUniSet.py: UInterface_wrap.cxx _pyUniSet.la
......
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