Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: UnicodeDecodeError when pip install on windows #6

Merged
merged 1 commit into from
Feb 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
def setup_package():
root = Path(__file__).parent.resolve()

with open(root / "requirements-dev.txt") as file:
with open(root / "requirements-dev.txt", encoding="utf8") as file:
DEVELOPMENT_MODULES = [line.strip()
for line in file if "-e" not in line]
extras = {"dev": DEVELOPMENT_MODULES}
Expand All @@ -20,7 +20,7 @@ def setup_package():
author_email="",
url="https://github.com/pharmapsychotic/BLIP",
description="BLIP library for use with CLIP Interrogator",
long_description=open('README.md').read(),
long_description=open('README.md', encoding="utf8").read(),
long_description_content_type="text/markdown",
packages=find_packages(),
install_requires=[
Expand Down