Skip to content

Order matters in ./distribute.sh -m options #50

Closed

Description

@rcludwick

Order matters.

If a list of dependencies can be generated as a dictionary like this:

   { 'a' : [ 'b', 'c', 'd' ] , 'e' : [ 'b' ] }   ( a depends upon b, c, and d.  e depends upon b )

Then the following code can generate an ordered build list correctly based upon the dependency dictionary:

https://gist.github.com/3663979

Activity

  1. tito commented on Sep 7, 2012

    @tito
    Member

    Will try to convert it to bash, or convert distribute to python (harder.)

  2. rcludwick commented on Sep 7, 2012

    @rcludwick
    Author

    I was thinking you could just leave it as is in a python script, and then
    call it from bash with like a json dict of deps as one of the arguments.

    Or if you had a series of files that listed the deps explicitly, the python
    code could go read that and build the dep list directly.

    On Fri, Sep 7, 2012 at 4:59 AM, Mathieu Virbel notifications@github.comwrote:

    Will try to convert it to bash, or convert distribute to python (harder.)

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-8363230.

  3. tito commented on Oct 17, 2013

    @tito
    Member

    this has been fixed during europython 2013 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions