Skip to content

Commit

Permalink
Merge pull request #747 from ltiao/patch-1
Browse files Browse the repository at this point in the history
Fix bug in setup.py
  • Loading branch information
pelson committed Mar 31, 2016
2 parents 885e691 + 72076cd commit 7998f87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/contributors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ the package wouldn't be as rich or diverse as it is today:
* Laura Dreyer
* Daniel Atton Beckmann
* Joseph Hogg
* Louis Tiao
* Zachary Tessler


Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,9 @@ def find_proj_version_by_program(conda=None):
proj_includes = proj_includes.decode()
proj_clibs = proj_clibs.decode()

proj_includes = proj_includes.split()
proj_includes = [proj_include[2:] if proj_include.startswith('-I') else
proj_include for proj_include in proj_includes.split()]

proj_libraries = []
proj_library_dirs = []
for entry in proj_clibs.split():
Expand Down

0 comments on commit 7998f87

Please sign in to comment.