diff --git a/.gitignore b/.gitignore index 8d45597..2f39923 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ __pycache__/ /test/ /documentation_images/customtkinter_design.afdesign /images/ -Readme_pypi.md +/Readme_pypi.md +project.toml \ No newline at end of file diff --git a/setup.py b/setup.py index dd8bdf3..2cb9a88 100644 --- a/setup.py +++ b/setup.py @@ -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",