Skip to content

Create instructions for Git + Python on Windows #6

Description

@aaaaalbert

Our buildscripts require Python and Git to work together. Setting up these on Windows can be tricky, especially regarding how / where Python is added to the $PATH environment variable, is / isn't installed for all users, and so on.

We should perhaps find one or two simple, standardized use cases that we document in a step-by-step tutorial.

Activity

  1. aaaaalbert commented on Nov 1, 2017

    @aaaaalbert
    ContributorAuthor

    @wecsam, given your Windows shell skills, do you want to take a stab at this issue?

  2. wecsam commented on Nov 1, 2017

    @wecsam
    Contributor

    @aaaaalbert Sure, I'll take a look. Where are the existing buildscripts?

  3. aaaaalbert commented on Nov 2, 2017

    @aaaaalbert
    ContributorAuthor

    Cool! The build scripts are here, https://github.com/SeattleTestbed/buildscripts/ . The build instructions are here, https://github.com/SeattleTestbed/docs/blob/master/Contributing/BuildInstructions.md .

    There are three issues as far as I can see:

    • Python on Windows needs some extra care so that it sets up all PATHs correctly and can be started from the command line. Otherwise, we cannot run Repy.
    • Python must also run from within git-bash (which seems to be the most popular way to have a Git CLI on Windows). Otherwise it's a pain to check out all dependencies and build Seattle components for later use (e.g. repy_v2 and seash).
    • Related to this, the build scripts must be able to call git. On Unixoid systems, we use Popen, but again there seem to be path issues on Windows.

    So we will need Windows-aware installation instructions that make the components work together, and perhaps modifications to the buildscripts too.

  4. wecsam commented on Nov 16, 2017

    @wecsam
    Contributor

    Unlike writing a command to loop through some files, that's not something that I'll be able to do in two minutes. I'll revisit this after final exams.

  5. aaaaalbert commented on Nov 16, 2017

    @aaaaalbert
    ContributorAuthor

    Thank you, much appreciated!

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