Commit Graph

12 Commits

Author SHA1 Message Date
Martin Molinero b5a9494a9b Fix for python build scripts 2020-06-02 12:52:28 -03:00
Michael Sena bb67bd4d0d Adjust Algorithm.Python PostBuildEvent location and ensure scripts pass 2020-05-26 15:45:09 +10:00
Tom Hunter 1fe246278c 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
2017-05-14 15:11:57 +01:00
AlexCatarino a68a3e5053 Fixes build scripts
Batch scripts were moving pyc files to the wrong directory
2017-04-11 17:09:44 +01:00
AlexCatarino c1de2f768f Tools for python scripts compilation
Updates build scripts that create python binaries (pyc files) from python scripts using nPython.
Also adds *.pyc to gitignore.
2017-04-11 12:09:16 +01:00
Andrew Hart cba2fac637 Minor changes to build.bat
The path to ipy.exe is now set explicitely.  There was also an error in the path to the python files that is now fixed.
2016-09-20 18:43:56 -04:00
Andrew Hart f2b3188fd5 build.bat now has executable permissions 2016-09-20 18:03:22 -04:00
Andrew Hart fee32c8d5b build.bat reflects appropriate file heirarchy 2016-09-20 17:58:16 -04:00
AlexCatarino 518beb8fbd Scripts includes all python script files in the DLL
We may need use classes and methods that are stored in other files in the directory (like we do in the C# Algorithms project)
Also, we need all Python Algorithms in the correspondent DLL to run unit tests of all the algorithms in a row
The dll is now copied to the Tests project
2016-02-22 22:54:23 -03:00
AlexCatarino a3ddbb8a55 Python algos in a file with the algo name like C#
build.bat (batch.sh in Linux) includes the code inside the file with the desired algorithm (set in config.json by "algorithm-type-name") in the python DLL (QuantConnect.Algorithm.Python.dll) via IronPython.
In the AlgorithmFactory,  Loader.TryCreatePythonAlgorithm imports the module with the algorithm name instead of "main".

Closes #289
2016-02-15 17:21:18 -05:00
AlexCatarino f1482d18c4 Update build.bat to account that since 30 Nov 2015 Lean executable is Lean.Launcher.exe
QuantConnect.Algorithm.Python.dll must be copied into Lean.Launcher project.

Closes #286
2016-02-12 11:07:38 -05:00
QuantConnect 98dc0e37b7 Build script and language config for Iron python based algorithms 2015-07-05 21:00:01 -04:00