Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
021e94ee
Commit
021e94ee
authored
Mar 05, 2013
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(python): добавил единый модуль uniset, чтоб для работы достаточно было сделать
только: import uniset
parent
c5f3dc9d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
2 deletions
+9
-2
libuniset.spec
conf/libuniset.spec
+4
-1
UGlobal.py
python/lib/UGlobal.py
+0
-0
UInterface.py
python/lib/UInterface.py
+1
-1
uniset.py
python/lib/uniset.py
+4
-0
No files found.
conf/libuniset.spec
View file @
021e94ee
...
...
@@ -252,7 +252,7 @@ mv -f %buildroot%python_sitelibdir_noarch/%oname/%oname.py %buildroot%python_sit
%if_enabled python
%files python-modules-%oname
%dir %python_sitelibdir/%oname
#
%python_sitelibdir/*
%python_sitelibdir/*
%python_sitelibdir/%oname/*
%endif
...
...
@@ -316,6 +316,9 @@ mv -f %buildroot%python_sitelibdir_noarch/%oname/%oname.py %buildroot%python_sit
%exclude %_pkgconfigdir/libUniSet.pc
%changelog
* Tue Mar 05 2013 Pavel Vainerman <pv@altlinux.ru> 1.6-alt0.3
- new build
* Tue Mar 05 2013 Pavel Vainerman <pv@altlinux.ru> 1.6-alt0.2
- test build (with python)
...
...
python/lib/
TestSuite
Global.py
→
python/lib/
U
Global.py
View file @
021e94ee
File moved
python/lib/UInterface.py
View file @
021e94ee
...
...
@@ -10,7 +10,7 @@ sys.path.append('pyUniSet/')
from
pyUExceptions
import
*
from
pyUConnector
import
*
from
pyUModbus
import
*
from
TestSuite
Global
import
*
from
U
Global
import
*
class
UInterface
():
...
...
python/lib/uniset.py
View file @
021e94ee
...
...
@@ -8,3 +8,7 @@ _py_dir = os.path.dirname(os.path.abspath(os.path.normpath(__file__)))
_py_uniset_dir
=
os
.
path
.
normpath
(
'
%
s/uniset'
%
_py_dir
)
sys
.
path
.
append
(
_py_uniset_dir
)
from
pyUConnector
import
*
from
pyUExceptions
import
*
from
pyUModbus
import
*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment