minor changes for pypi

This commit is contained in:
Tom Schimansky 2021-05-08 12:06:59 +02:00
parent 0c8e06b150
commit 3b8642edba
2 changed files with 6 additions and 2 deletions

3
.gitignore vendored
View File

@ -6,4 +6,5 @@ __pycache__/
/test/
/documentation_images/customtkinter_design.afdesign
/images/
Readme_pypi.md
/Readme_pypi.md
project.toml

View File

@ -3,7 +3,10 @@ import os
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
try:
return open(os.path.join(os.path.dirname(__file__), filename)).read()
except Exception as err:
return ""
setup(name="customtkinter",