Can't install diskimage-builder via "pip install -e"

Bug #1491035 reported by Lucas Alvares Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
Medium
Ian Wienand

Bug Description

We should be able to install diskimage-builder using "pip install -e"

ERROR:

stack@virtual-machine:~/devstack$ ramdisk-image-create
/usr/local/bin/ramdisk-image-create: line 35: /usr/local/bin/../lib/die: No such file or directory

HOW TO REPRODUCE:

$ git clone https://github.com/openstack/diskimage-builder

$ sudo pip install -e diskimage-builder

$ ramdisk-image-create -o test fedora
/usr/local/bin/ramdisk-image-create: line 35: /usr/local/bin/../lib/die: No such file or directory

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to diskimage-builder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/219562

Changed in diskimage-builder:
assignee: nobody → Ian Wienand (iwienand)
status: New → In Progress
Derek Higgins (derekh)
Changed in diskimage-builder:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Reviewed: https://review.openstack.org/219562
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=ab5ed610e4a1a65cbc0f1307832cf42b472e9660
Submitter: Jenkins
Branch: master

commit ab5ed610e4a1a65cbc0f1307832cf42b472e9660
Author: Ian Wienand <email address hidden>
Date: Wed Sep 2 15:12:31 2015 +1000

    Handle install with pip -e

    As described in the comments, inspect the installation to see if we
    have been installed with "pip -e" and, if so, make sure we reference
    the scripts from the source location rather than the
    system-installations.

    Update the documentation with a terse but helpful quick-start to show
    an easy way to start developing a change using this.

    Closes-Bug: #1491035
    Change-Id: I0460061b834a2b854175f8c9be2be8d38c540c9d

Changed in diskimage-builder:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.