diff --git a/CHANGELOG.md b/CHANGELOG.md index ceb1c17..6edcc13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ Given a version number MAJOR.MINOR.PATCH, increment: ## [Unreleased] +### Fixed +- setup.py install ## [2.25.0] - 2024-03-13 ### Added diff --git a/setup.py b/setup.py index b228dfc..c430082 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,12 @@ from re import search from setuptools import setup, find_packages -with open('README.md', encoding="utf-8") as f: - README = f.read() +try: + with open('README.md', encoding="utf-8") as f: + README = f.read() +except: + with open('README.md') as f: + README = f.read() with open('starkbank/__init__.py') as f: version = search(r'version = \"(.*)\"', f.read()).group(1)