Bug 1281854 - [Enhancement] Add the distclean command to setup.py
Summary: [Enhancement] Add the distclean command to setup.py
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-manager
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Cole Robinson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-13 15:40 UTC by jean-christophe manciot
Modified: 2016-06-14 23:44 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-06-14 23:44:25 UTC
Embargoed:


Attachments (Terms of Use)

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?


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