Skip to content

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

Closed
yxqd wants to merge 1 commit intocentreborelli:masterfrom
yxqd:master
Closed

allow setting compiler flags so that a custom installation location for libtiff can be supported#7
yxqd wants to merge 1 commit intocentreborelli:masterfrom
yxqd:master

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