Skip to content
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

Get home directory in platform-independent way #7

Merged
merged 1 commit into from
Jan 8, 2016

Conversation

mwcraig
Copy link
Contributor

@mwcraig mwcraig commented Jan 8, 2016

In the process of building a conda package for the latest pydl release in astropy/conda-builder-affiliated#84 @bsipocz and found that one of the scripts fails on Windows. Turns out the issue is that the environment variable $HOME is not typically set on Windows, and the script used it to set a default value for a couple of arguments.

This PR fixes that. For the conda package for 0.4.1 we'll just skip the test of that script (pca_gal) -- in the future if you'd prefer that we not build it at all for Windows, let me know.

weaverba137 pushed a commit that referenced this pull request Jan 8, 2016
Get home directory in platform-independent way
@weaverba137 weaverba137 merged commit 8000b7f into weaverba137:master Jan 8, 2016
@weaverba137
Copy link
Owner

Heh, indeed, I don't normally consider Windows when writing code. This is a good trick to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants