Skip to content

Commit

Permalink
Merge pull request #76 from rmsds/fix_python3_external_curl
Browse files Browse the repository at this point in the history
Fix the build with Python 3 and an external curl
  • Loading branch information
dpryan79 authored Jan 25, 2019
2 parents f0aa311 + a8fef10 commit 6d5b772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
defines.append(('NOCURL', None))
sys.stderr.write("Either libcurl isn't installed, it didn't come with curl-config, or curl-config isn't in your $PATH. pyBigWig will be installed without support for remote files.\n")

foo = foo.strip().split()
foo = foo.decode().strip().split()
for v in foo:
if(v[0:2] == "-L") :
if(v[0:2] == '-L') :
additional_libs.append(v[2:])

include_dirs = ['libBigWig', sysconfig.get_config_var("INCLUDEPY")]
Expand Down

0 comments on commit 6d5b772

Please sign in to comment.