itemisCREATE / statecharts

YAKINDU Statechart Tools (http://www.statecharts.org)
Eclipse Public License 1.0
175 stars 86 forks source link

Python code generator doesn't support hyphens in folder names #3214

Closed bbpaulvanharen closed 3 years ago

bbpaulvanharen commented 3 years ago

The default .sgen file for c code generation uses a line const FOLDER : string = "src-gen"

The same line in the .sgen file for a python project reports an invalid name for the folder. Hence, the project won't compile

tkutz commented 3 years ago

This is already fixed in version 4.0.2.

bbpaulvanharen commented 3 years ago

I just upgraded to version 4.0.3 and the problem still persists. Noteworthy details:

tkutz commented 3 years ago

4.0.3 is freshly released. Release notes will be updated asap.

The default sgen for the python generator should not contain a hyphen anymore. But hyphens are still not allowed, as they are not allowed for package names.

bbpaulvanharen commented 3 years ago

Thx