Bug 1281854 - [Enhancement] Add the distclean command to setup.py
[Enhancement] Add the distclean command to setup.py
Product: Virtualization Tools
Classification: Community
Component: virt-manager (Show other bugs)
x86_64 Linux
unspecified Severity low
: ---
: ---
Assigned To: Cole Robinson
Depends On:
  Show dependency treegraph
Reported: 2015-11-13 10:40 EST by jean-christophe manciot
Modified: 2016-06-14 19:44 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-06-14 19:44:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description jean-christophe manciot 2015-11-13 10:40:07 EST
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):

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@gmail.com" --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 19:44:25 EDT
I think 'python setup.py clean' or 'git clean -xdf' should be sufficient?

Note You need to log in before you can comment on or make changes to this bug.