From 7e415435776148af9fc529edb182e01a3c715923 Mon Sep 17 00:00:00 2001 From: Randy Eckman Date: Sat, 14 Sep 2019 17:27:08 -0500 Subject: [PATCH] initial version of script to make local exe --- .gitignore | 3 ++- make_local_exe.py | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 make_local_exe.py diff --git a/.gitignore b/.gitignore index 6f44278..32ddd18 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.pyc -.vscode \ No newline at end of file +.vscode +fortls*.exe diff --git a/make_local_exe.py b/make_local_exe.py new file mode 100644 index 0000000..52b0856 --- /dev/null +++ b/make_local_exe.py @@ -0,0 +1,6 @@ +from distlib.scripts import ScriptMaker +maker = ScriptMaker('.', '.') +# maker.executable = 'C:\\miniconda\\miniconda3\\python.exe' +with open('fortls.py') as f: + maker.script_template = f.read() +maker.make('fortls = fortls')