Commit 0aa8d3dd authored by Andrey Filippov's avatar Andrey Filippov

modified setup_eclipse.py for Python3

parent af110502
#!/usr/bin/env python
#!/usr/bin/env python3
# encoding: utf-8
from __future__ import print_function
from __future__ import division
# from __future__ import print_function
# from __future__ import division
'''
# Copyright (C) 2017, Elphel.inc.
......@@ -189,11 +189,11 @@ The program will not overwrite or modify any existing workspace.
for l in bin_str:
data.append(ord(l))
ba=bytearray(data)
with open(properties_index, 'w') as f:
with open(properties_index, 'wb') as f:
f.write(ba)
if __name__ == "__main__":
sys.exit(main())
"""
eyesis@eyesis-SH87R:~/nc393/elphel393$ ./setup_eclipse.py /home/eyesis/eclipse/jee-oxygen/eclipse/ ../workspace-elphel393-fpga setup_eclipse_fpga_paths.xml
"""
\ No newline at end of file
"""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment