debian: Clean up sm-mgmt-tools packaging
Make sure that the python is installed correctly. Test Plan PASS Build and test ISO. Story: 2009101 Task: 43644 Signed-off-by: Chuck Short <charles.short@windriver.com> Change-Id: I1bd2938b2fb861a2281fc6a3f3bf3f5408ccbb86
This commit is contained in:
parent
4b612d1f42
commit
c20bff717c
|
@ -28,7 +28,7 @@ Rules-Requires-Root: no
|
||||||
|
|
||||||
Package: sm-tools
|
Package: sm-tools
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: python3:any, ${python3:Depends}, ${misc:Depends},
|
Depends: ${python3:Depends}, ${misc:Depends},
|
||||||
python3-eventlet,
|
python3-eventlet,
|
||||||
python3-httplib2,
|
python3-httplib2,
|
||||||
python3-iso8601,
|
python3-iso8601,
|
||||||
|
|
|
@ -7,11 +7,9 @@ export PYBUILD_NAME=sm-tools
|
||||||
|
|
||||||
override_dh_install:
|
override_dh_install:
|
||||||
python3 setup.py install -f --install-layout=deb --root=$(CURDIR)/debian/tmp
|
python3 setup.py install -f --install-layout=deb --root=$(CURDIR)/debian/tmp
|
||||||
|
|
||||||
python3 setup.py bdist_wheel \
|
python3 setup.py bdist_wheel \
|
||||||
--universal \
|
--universal \
|
||||||
-d $(CURDIR)/debian/sm-tools-wheels/usr/share/python3-wheels
|
-d $(CURDIR)/debian/sm-tools-wheels/usr/share/python3-wheels
|
||||||
|
|
||||||
dh_install
|
dh_install
|
||||||
|
|
||||||
override_dh_python3:
|
override_dh_python3:
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
usr/lib/python3/dist-packages/sm_tools-1.0.0.egg-info
|
|
||||||
usr/lib/python3/dist-packages/sm_tools
|
|
|
@ -1,2 +1,2 @@
|
||||||
usr/lib/python3/dist-packages/*
|
usr/lib/python3*
|
||||||
usr/bin/*
|
usr/bin/*
|
||||||
|
|
Loading…
Reference in New Issue