Show More
1 | NO CONTENT: file renamed from mercurial/cffi/bdiff.py to mercurial/cffi/bdiffbuild.py |
|
NO CONTENT: file renamed from mercurial/cffi/bdiff.py to mercurial/cffi/bdiffbuild.py |
1 | NO CONTENT: file renamed from mercurial/cffi/mpatch.py to mercurial/cffi/mpatchbuild.py |
|
NO CONTENT: file renamed from mercurial/cffi/mpatch.py to mercurial/cffi/mpatchbuild.py |
1 | NO CONTENT: file renamed from mercurial/cffi/osutil.py to mercurial/cffi/osutilbuild.py |
|
NO CONTENT: file renamed from mercurial/cffi/osutil.py to mercurial/cffi/osutilbuild.py |
@@ -353,15 +353,15 b' class hgbuildpy(build_py):' | |||||
353 | self.distribution.ext_modules = [] |
|
353 | self.distribution.ext_modules = [] | |
354 | elif self.distribution.cffi: |
|
354 | elif self.distribution.cffi: | |
355 | from mercurial.cffi import ( |
|
355 | from mercurial.cffi import ( | |
356 | bdiff, |
|
356 | bdiffbuild, | |
357 | mpatch, |
|
357 | mpatchbuild, | |
358 | ) |
|
358 | ) | |
359 | exts = [mpatch.ffi.distutils_extension(), |
|
359 | exts = [mpatchbuild.ffi.distutils_extension(), | |
360 | bdiff.ffi.distutils_extension()] |
|
360 | bdiffbuild.ffi.distutils_extension()] | |
361 | # cffi modules go here |
|
361 | # cffi modules go here | |
362 | if sys.platform == 'darwin': |
|
362 | if sys.platform == 'darwin': | |
363 | from mercurial.cffi import osutil |
|
363 | from mercurial.cffi import osutilbuild | |
364 | exts.append(osutil.ffi.distutils_extension()) |
|
364 | exts.append(osutilbuild.ffi.distutils_extension()) | |
365 | self.distribution.ext_modules = exts |
|
365 | self.distribution.ext_modules = exts | |
366 | else: |
|
366 | else: | |
367 | h = os.path.join(get_python_inc(), 'Python.h') |
|
367 | h = os.path.join(get_python_inc(), 'Python.h') |
General Comments 0
You need to be logged in to leave comments.
Login now