﻿REM QuantConnect Lean Engine -- Python Build Script.
del Python.Runtime.dll

REM Python Compile the Algorithm with all the files in current directory
nPython -m compileall -lq .

REM Copy to the Lean Algorithm Project
copy *.pyc ..\..\..\Launcher\bin\Debug >NUL
copy *.pyc ..\..\..\Launcher\bin\Release >NUL
copy *.pyc ..\..\..\Tests\bin\Debug >NUL
REM QuantConnect Lean Engine -- Python Build Script.
del Python.Runtime.dll

REM Python Compile the Algorithm with all the files in current directory
nPython -m compileall -lq .

REM Copy to the Lean Algorithm Project
copy *.pyc ..\..\..\Launcher\bin\Debug >NUL
copy *.pyc ..\..\..\Launcher\bin\Release >NUL
copy *.pyc ..\..\..\Tests\bin\Debug >NUL
Remove the byte order mark
Remove the byte order mark

Used Notepad++ to chang the file encoding from UTF-8-BOM to UTF-8 (i.e.
removed the byte order mark) which seems to be confusing the Windows
shell.  Fixes issue mentioned in #915
