|
|
|
@ -21,6 +21,9 @@ |
|
|
|
* @file version.i |
|
|
|
* @brief KiCad version routine |
|
|
|
*/ |
|
|
|
|
|
|
|
#pragma SWIG nowarn=305 |
|
|
|
|
|
|
|
%include kicad_build_version.h |
|
|
|
|
|
|
|
%pythoncode |
|
|
|
@ -28,7 +31,7 @@ |
|
|
|
def Version(): |
|
|
|
"""Return the semantic version of KiCad""" |
|
|
|
return KICAD_SEMANTIC_VERSION |
|
|
|
|
|
|
|
|
|
|
|
def FullVersion(): |
|
|
|
"""Return the full, git-based version of KiCad""" |
|
|
|
return KICAD_VERSION_FULL |