Skip to content

Commit

Permalink
Rename submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
ifduyue committed Mar 26, 2017
1 parent f7907f9 commit d3d7a77
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "xxhash"]
path = c-xxhash
path = deps/xxhash
url = https://github.com/Cyan4973/xxHash.git
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include README.rst
include LICENSE
include c-xxhash/xxhash.h
include c-xxhash/xxhash.c
include deps/xxhash/xxhash.h
include deps/xxhash/xxhash.c
include ffibuild.py
graft tests
global-exclude __pycache__
Expand Down
4 changes: 2 additions & 2 deletions ffibuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
ffi.set_source(
'_cffi',
'#include "xxhash.h"',
sources=['c-xxhash/xxhash.c'],
include_dirs=['c-xxhash']
sources=['deps/xxhash/xxhash.c'],
include_dirs=['deps/xxhash']
)

ffi.cdef('''
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
setup_kwargs['ext_modules'] = [
Extension(
'cpython',
['xxhash/cpython.c', 'c-xxhash/xxhash.c'],
['xxhash/cpython.c', 'deps/xxhash/xxhash.c'],
extra_compile_args=extra_compile_args,
include_dirs=['c-xxhash']
include_dirs=['deps/xxhash']
)
]
else:
Expand Down

0 comments on commit d3d7a77

Please sign in to comment.