QuantConnect / pythonnet

Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers.
http://pythonnet.github.io
MIT License
28 stars 27 forks source link

[Feature Request] -- Add find lib_python utility #48

Open aarjaneiro opened 3 years ago

aarjaneiro commented 3 years ago

Details

PythonNet recently added a utility to streamline the process of linking users' libpython libraries: find_libpython. Would be useful if either incorporated (or, if a similar utility is made from scratch for this purpose) into QuantConnect/pythonnet or in QuantConnect/Lean in order to avoid users needing to manually specify the location in https://github.com/QuantConnect/Lean/blob/master/Common/Python/Python.Runtime.dll.config

C-SELLERS commented 3 years ago

PythonNet 2.0+ no longer requires this .dll.config file to point to the Python lib. It uses an environment var for "PYTHONNET_PYDLL" to locate the lib file.

Voting to close this 👍🏽