Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion scare.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def parseCmd(cmd, smu):

return shouldAssemble

if __name__ == '__main__':
def main():
printSplash("cerulean")
args = parser.parse_args()
print("Type / for help\n")
Expand Down Expand Up @@ -238,3 +238,6 @@ def parseCmd(cmd, smu):
currentAddr = sConfig["emu/baseaddr"]
except EOFError:
break

if __name__ == '__main__':
main()
18 changes: 18 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import setuptools

setuptools.setup(
name="scare",
version="0.3.0",
description="scare is a multi-arch assembly REPL and emulator for your command line.",
author="netspooky",
license="GPLv2",
license_files=["LICENSE.md"],
classifiers=["License :: OSI Approved :: GNU General Public License v2 (GPLv2)"],
install_requires=["unicorn", "keystone-engine", "capstone"],
py_modules=["scare"],
entry_points={
"console_scripts": [
"scare = scare:main",
]
},
)