| Index: third_party/yasm/patched-yasm/tools/python-yasm/setup.py
|
| ===================================================================
|
| --- third_party/yasm/patched-yasm/tools/python-yasm/setup.py (revision 71129)
|
| +++ third_party/yasm/patched-yasm/tools/python-yasm/setup.py (working copy)
|
| @@ -26,7 +26,7 @@
|
|
|
| from distutils.core import setup
|
| from distutils.extension import Extension
|
| -from Pyrex.Distutils import build_ext
|
| +from Cython.Distutils import build_ext
|
| from os.path import basename, join, exists
|
|
|
| def ReadSetup(filename):
|
| @@ -52,8 +52,6 @@
|
| for tok in src.split():
|
| if tok.endswith(".c"):
|
| fn = tok
|
| - elif tok.endswith(".y"):
|
| - fn = basename(tok)[:-2] + ".c"
|
| else:
|
| continue
|
| if not exists(fn):
|
| @@ -74,8 +72,6 @@
|
| sources=sources,
|
| extra_compile_args=cppflags,
|
| include_dirs=incldir,
|
| - library_dirs=['.'],
|
| - libraries=['yasm'],
|
| ),
|
| ],
|
| cmdclass = dict(build_ext=build_ext),
|
|
|