-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restructure project entry point for rpython
- Loading branch information
1 parent
bf3f1b4
commit b94e4a2
Showing
10 changed files
with
84 additions
and
46 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1 @@ | ||
VERSION = '1.2.0' | ||
VERSION = '1.2.1' |
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#!/usr/bin/env python | ||
|
||
import aheui | ||
|
||
|
||
def entry_point(argv): | ||
return aheui.entry_point(argv + ['--target=asm', '--output=-']) | ||
from aheui.aheui import entry_point | ||
return entry_point(argv + ['--target=asm', '--output=-']) | ||
|
||
|
||
def target(*args): | ||
return entry_point, None | ||
|
||
|
||
if __name__ == '__main__': | ||
import sys | ||
entry_point(sys.argv) |
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,19 @@ | ||
#!/usr/bin/env python | ||
# coding: utf-8 | ||
|
||
|
||
def jitpolicy(driver): | ||
from rpython.jit.codewriter.policy import JitPolicy | ||
return JitPolicy() | ||
|
||
|
||
def target(*args): | ||
from aheui.aheui import entry_point | ||
return entry_point, None | ||
|
||
|
||
if __name__ == '__main__': | ||
"""Python compatibility.""" | ||
import sys | ||
from aheui.aheui import entry_point | ||
sys.exit(entry_point(sys.argv)) |
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,19 @@ | ||
#!/usr/bin/env python | ||
# coding: utf-8 | ||
|
||
|
||
def jitpolicy(driver): | ||
from rpython.jit.codewriter.policy import JitPolicy | ||
return JitPolicy() | ||
|
||
|
||
def target(*args): | ||
from aheui.aheui import entry_point | ||
return entry_point, None | ||
|
||
|
||
if __name__ == '__main__': | ||
"""Python compatibility.""" | ||
import sys | ||
from aheui.aheui import entry_point | ||
sys.exit(entry_point(sys.argv)) |
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,19 @@ | ||
#!/usr/bin/env python | ||
# coding: utf-8 | ||
|
||
|
||
def jitpolicy(driver): | ||
from rpython.jit.codewriter.policy import JitPolicy | ||
return JitPolicy() | ||
|
||
|
||
def target(*args): | ||
from aheui.aheui import entry_point | ||
return entry_point, None | ||
|
||
|
||
if __name__ == '__main__': | ||
"""Python compatibility.""" | ||
import sys | ||
from aheui.aheui import entry_point | ||
sys.exit(entry_point(sys.argv)) |
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