setup: fix path of rust source dependencies
authorYuya Nishihara <yuya@tcha.org>
Sun, 02 Dec 2018 21:33:43 +0900
changeset 40876 67d20f62fd19
parent 40875 2041991f1ce2
child 40877 aa76be85029b
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.
setup.py
--- 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,