Skip to content

Commit

Permalink
update to handle utf8 readme on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Abe404 committed Mar 17, 2022
1 parent dc7dcec commit df9e16d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
from setuptools import setup
from pathlib import Path
import io

current_dir = Path(__file__).parent
long_description = (current_dir / "README.md").read_text()
long_description = io.open(current_dir / "README.md", mode="r", encoding="utf-8").read()

setup(
name = 'dicom_mask',
packages = ['dicom_mask'],
version = '0.0.20',
version = '0.0.22',
license = 'BSD',
description = 'Export structure from dicom to numpy binary mask',
long_description_content_type='text/markdown',
Expand Down

0 comments on commit df9e16d

Please sign in to comment.