Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Copy readline module to line_input so we can fork it.
This will aid in correct history expansion (#231) as well as completion on OS X (#228). Tested: - dev build with line_input.so - Building _bin/oil.ovm{,-dbg} in the repo - tarball build on my machine (build/test.sh) - tarball build in Alpine Linux, without readline (test/alpine.sh)
- Loading branch information
Andy Chu
committed
Feb 20, 2019
1 parent
c014ea7
commit 391297e
Showing
11 changed files
with
1,337 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env python | ||
from distutils.core import setup, Extension | ||
|
||
module = Extension('line_input', | ||
sources = ['native/line_input.c'], | ||
undef_macros = ['NDEBUG'], | ||
libraries = ['readline'] | ||
) | ||
|
||
setup(name = 'line_input', | ||
version = '1.0', | ||
description = 'Our readline/libedit binding', | ||
ext_modules = [module]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.