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

allow setting compiler flags so that a custom installation location for libtiff can be supported #7

Closed
wants to merge 1 commit into from

Conversation

yxqd
Copy link

@yxqd yxqd commented Mar 5, 2020

This is an attempt to allow users to set compiler flags when running setup.py, so that a custom installation location for libtiff can be handled. This can be useful, for example, when installing srtm4 under a conda environment (where libtiff was installed using conda). For example, after this change, I was able to run python setup.py build in a conda environment by

export LDLIBS="-L $CONDA_PREFIX/lib"
export CFLAGS="-I $CONDA_PREFIX/include"
python setup.py build

@yxqd
Copy link
Author

yxqd commented Mar 13, 2020

This is replaced by #8

@yxqd yxqd closed this Mar 13, 2020
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.

1 participant