bin directory and its contents not in install package

Bug #1226153 reported by Andrew Forrest on 2013-09-16
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inception
Medium
Andrew Forrest

Bug Description

The install egg created/installed by the setup.py configuration in this project does not include the './bin' directory or its contents.

This means, among other things perhaps, that the various chef scripts cannot be found but more importantly, the orchestrator command line script is not installed either.

The workaround is to run this project from its development source directory.

This workaround fails however for cases where the package is installed and the installed egg has priority over the development sources.

Changed in inception:
assignee: nobody → Andrew Forrest (forrest-r)
assignee: Andrew Forrest (forrest-r) → nobody
Changbin Liu (changbl) wrote :

Andrew, Can you provide a fix?

Changed in inception:
assignee: nobody → Andrew Forrest (forrest-r)
importance: Undecided → Medium
Andrew Forrest (forrest-r) wrote :

Changbin, I'll have a look. I'm not a setuptools expert however.

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

Changed in inception:
status: New → In Progress

Reviewed: https://review.openstack.org/47261
Committed: http://github.com/stackforge/inception/commit/45d73ca7b629004b5178d241c3a9032db69ba106
Submitter: Jenkins
Branch: master

commit 45d73ca7b629004b5178d241c3a9032db69ba106
Author: Andrew Forrest <email address hidden>
Date: Wed Sep 18 14:19:36 2013 -0700

    Include scripts in package: chef + orchestrator

    Add the 'data_files' and 'scripts' directives to the setup() call
    in setup.py so as to make setuptools include the chef scripts
    and orchestrator script in the package and install them in locations
    suitable for the current code.

    Change-Id: Iad2ca28224a60ec0cb23dcbb0f0b23fa8801f513
    Closes-bug: #1226153

Changed in inception:
status: In Progress → Fix Committed
Changbin Liu (changbl) on 2013-09-19
Changed in inception:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers