You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I´d like to compile other Coconut files dynamically from my coco script, but I need to know the target version of the current script, otherwise I get results that are incompatible with each other.
Using sys.version_info.major doesn´t work, as the compiling Python may differ from the target Python.
The text was updated successfully, but these errors were encountered:
Maybe. But I'm still compiling Coconut code from inside Coconut/Python code (which you recommended against). It works fine so far (setup.py), but it would be good in some cases to know the Coconut target version (for continuous integration, setting up testing environments etc.)
@ArneBachmann Did #320 adequately cover your use case? If not, do you need the exact version number (e.g. "2.6.x"), the major and minor version number (e.g. "3.1"), or just the major number? From the initial comment, it looks like you only need the major version number.
I´d like to compile other Coconut files dynamically from my coco script, but I need to know the target version of the current script, otherwise I get results that are incompatible with each other.
Using
sys.version_info.major
doesn´t work, as the compiling Python may differ from the target Python.The text was updated successfully, but these errors were encountered: