This branch contains the fix of #26, as well as improved tests to check whether #26 has actually been fixed and to check if similar issues occur again. A small overview of the changes:
Instead of the ttkthemes directory, the existence of the tkimg directory is checked. If tkimg is present as a directory in the same folder as setup.py, it is full copy of the repository and not an installable Python redistributable file.
Improve the ci.py file in order to run the tests on the installed version of ttkthemes instead of the one as the cloned repository.
Change the path finding for AppVeyor artifacts, this is unrelated but it would be nice if it works as then AppVeyor will upload the artifacts automatically to GitHub releases. The only way to check is by tagging a new release :smile: .
So, all in all, this contains the directory checking goodness implemented by @Akuli , as well as working source distributions.
This branch contains the fix of #26, as well as improved tests to check whether #26 has actually been fixed and to check if similar issues occur again. A small overview of the changes:
ttkthemes
directory, the existence of thetkimg
directory is checked. Iftkimg
is present as a directory in the same folder assetup.py
, it is full copy of the repository and not an installable Python redistributable file.ci.py
file in order to run the tests on the installed version ofttkthemes
instead of the one as the cloned repository.So, all in all, this contains the directory checking goodness implemented by @Akuli , as well as working source distributions.