changeset 40876:67d20f62fd19

setup: fix path of rust source dependencies Appears that they were screwed up while moving the source files around. Since rust-direct-ffi sources are automatically added to the depends list, we only need to list hg-core sources.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 02 Dec 2018 21:33:43 +0900
parents 2041991f1ce2
children aa76be85029b
files setup.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Sun Mar 04 08:50:12 2018 -0800
+++ b/setup.py	Sun Dec 02 21:33:43 2018 +0900
@@ -968,9 +968,8 @@
                   'hg-direct-ffi',
                   include_dirs=common_include_dirs,
                   depends=common_depends + ['mercurial/cext/charencode.h',
-                                            'mercurial/rust/src/lib.rs',
-                                            'mercurial/rust/src/ancestors.rs',
-                                            'mercurial/rust/src/cpython.rs']),
+                                            'rust/hg-core/src/ancestors.rs',
+                                            'rust/hg-core/src/lib.rs']),
     Extension('mercurial.cext.osutil', ['mercurial/cext/osutil.c'],
               include_dirs=common_include_dirs,
               extra_compile_args=osutil_cflags,