Hello,
the site-package installation does not work.
genx.py will be installed for example to /usr/local/bin and the genx will be installed in the site-package directory, e.g. /usr/local/lib/python2.7/site-packages/genx/
genx.py imports version.py and model.py which is ok if you run the software from checkout.
Otherwise this leads to an ImportError because version.py and model.py resides in the site-package.
To make matters worse you cannot import the genx site-package from genx.py (naming convention) directly.
The attached patch imports version.py and model.py from genx site-package on ImportError exception.
This fixes this error.
Nevertheless it would be nice to rename genx.py to something different from the site-package name and to restructure the project that you do not need to distinguish between imports in the checkout version and imports in a installed package version.
Best
Christian
Thanks for the report. I will change the directory structure to avoid this. Will attempt to implement it in the next release.
Best Regards
Matts
Will be resolved in future release.