-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Activate in build scripts, rather than trying to have Python manage env #1044
Activate in build scripts, rather than trying to have Python manage env #1044
Conversation
90f7d31
to
edab704
Compare
Current coverage is 14.9%@@ master #1044 diff @@
==========================================
Files 43 43
Lines 5512 5481 -31
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
- Hits 825 819 -6
+ Misses 4687 4662 -25
Partials 0 0
|
wow! first all-green appveyor in a long time! Merging. |
I'm not 100% sure if this PR introduced this new failure on Windows (Appveyor): Somehow the variables exported by Visual Studios vcsvars.bat script got omitted... It seems it only affects 64bit systems: https://ci.appveyor.com/project/marscher/pyemma/build/1.0.2097 |
Interesting. It passed our tests locally. Must be something with the alternative compilers. I know the change involved and will revert it until I fix it. |
We're using VS2015 on Appveyor if that helps. My guess is that is has
something to do with the way conda-build treats env variables.
|
We tried to use distutils for finding and getting the compiler environment I think it's still a good idea, just not ready for prime time. On Thu, Jun 23, 2016, 07:30 Martin K. Scherer notifications@github.com
|
yeah, sounds like a neat idea. Maybe setuptools is better suited (since
it is modern) and also available in every conda installation?
|
The gist of this is that trying to have Python record the environment variable changes from activation was prone to all sorts of variable corruption. Rather than deal with that, we just call the activation scripts in the build scripts (by prepending this activation bit into a copy of the build script)
Fixes #1040 #1042
cc @havocp