Skip to content

Find msbuild.exe location from registry #13

Closed

Description

@davidanthoff

Currently setup.py is using msvc9compiler.MSVCCompiler's find_exe method to find the location of msbuild.exe. That doesn't work unless VS is installed. We should probably be able to find the msbuild location by reading the official location from the registry, thus removing the dependency on VS.

Activity

  1. added this to the milestone on Mar 3, 2014
  2. self-assigned this
    on Mar 3, 2014
  3. tonyroberts commented on Mar 3, 2014

    @tonyroberts
    Contributor

    I can take a look at that

  4. tonyroberts commented on Mar 5, 2014

    @tonyroberts
    Contributor

    hmmm, turns out this is a bit more tricky. The RGiesecke.DllExport tool depends on being able to find lib.exe, and as far as I can tell that's not included in the Windows SDK, only in Visual Studio.

    Is it that much of a problem to have to have visual studio installed? I'd imagine most people building extensions would have it (or at least the express version).

  5. davidanthoff commented on Mar 12, 2014

    @davidanthoff
    ContributorAuthor

    Certainly not an important point. I'm moving it to a backlog, if someone at some point wants to take a crack at this, great, otherwise we will just ignore.

  6. modified the milestones: , on Mar 12, 2014
  7. davidanthoff commented on Mar 16, 2014

    @davidanthoff
    ContributorAuthor

    I implemented this in #18 now for two reasons: I'm trying out appveyor for a windows ci solution and it doesn't have vs installed, and a newer rgiesecke version might not require access to lib.exe, so we might be good on that one as well.

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

Metadata

Metadata

Assignees

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