From: Peter Johnson Date: Wed, 5 Apr 2006 05:36:06 +0000 (-0000) Subject: * setup.py: strip() opts["srcdir"] to unbreak distcheck. X-Git-Tag: v0.5.0rc2~2^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c36a0551ff41b9ad3cfc742b7cd865d7d049cef;p=yasm * setup.py: strip() opts["srcdir"] to unbreak distcheck. svn path=/trunk/yasm/; revision=1462 --- diff --git a/tools/python-yasm/setup.py b/tools/python-yasm/setup.py index c6afc0c8..ffc0e0c0 100644 --- a/tools/python-yasm/setup.py +++ b/tools/python-yasm/setup.py @@ -81,7 +81,7 @@ def RunSetup(incldir, cppflags, sources): if __name__ == "__main__": opts = ReadSetup("python-setup.txt") incldir, cppflags = ParseCPPFlags(opts["includes"]) - sources = ParseSources(opts["sources"], opts["srcdir"]) + sources = ParseSources(opts["sources"], opts["srcdir"].strip()) sources.append('yasm_python.c') if opts["gcc"].strip() == "yes": cppflags.append('-w')