From 3b8642edbad26b4177563d07ee58da8f17a46f6a Mon Sep 17 00:00:00 2001 From: Tom Schimansky Date: Sat, 8 May 2021 12:06:59 +0200 Subject: [PATCH] minor changes for pypi --- .gitignore | 3 ++- setup.py | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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",