Bug 1281854

Summary: [Enhancement] Add the distclean command to setup.py
Product: [Community] Virtualization Tools Reporter: jean-christophe manciot <actionmystique>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED DEFERRED QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, crobinso, gscrivan, rbalakri
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-14 23:44:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jean-christophe manciot 2015-11-13 15:40:07 UTC
Description of problem:
-----------------------
If I configure, build & install a package with checkinstall from updated github sources and previous built & install have already been performed with older sources, many files are missing from the deb package.

Dist-clean would allow me to start the process from scratch each time some sources are modified to build a deb package with all the necessary files.

Version-Release number of selected component (if applicable):
------------------------------------------------------------
N/A

Steps to Reproduce:
-------------------
1. update local github clone with latest sources
2. export GI_TYPELIB_PATH=/usr/lib/girepository-1.0/
3. export LD_LIBRARY_PATH=/usr/lib/
4. python setup.py configure
5. python setup.py build
6. checkinstall -D --install --pkgname="virt-manager" --pkgversion="1:1.2.1" --pkgrelease="10" --pkgarch="amd64" --maintainer="manciot.jeanchristophe" --requires="libosinfo-1.0-0,libvirt-bin,libvirt-glib-1.0-0,python-libvirt,gconf2,librsvg2-common,python-dbus,python-gi,python-gi-cairo,python-gobject,gir1.2-gtk-3.0,python-libxml2,gir1.2-vte-2.91,dconf-gsettings-backend,dbus-x11,gir1.2-gtk-vnc-2.0,gnome-icon-theme,python-urlgrabber,python-ipaddr,python-requests" --include="files-to-be-included-in-the-package.txt" --exclude="/usr/share/icons/hicolor/icon-theme.cache" python setup.py install

Additional info:
---------------
Ubuntu Server 15.10

Comment 1 Cole Robinson 2016-06-14 23:44:25 UTC
I think 'python setup.py clean' or 'git clean -xdf' should be sufficient?