nimpy
nimpy copied to clipboard
Allow exporting constants
Hi, The following code: import nimpy const x {.exportpy.}=0
Doesn't compile. Could you add support for this? Thanks
This would be great for defining a version number in Nim and then getting to it from Python, which is my use case.