Skip to content

Commit

Permalink
defined utf-8 encoding for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
atharmohammad committed Dec 14, 2021
1 parent ff439d1 commit a92b20c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -5,8 +5,8 @@
open('dateparser/__init__.py').read()).group(1)

introduction = re.sub(r':members:.+|..\sautomodule::.+|:class:|:func:|:ref:',
'', open('docs/introduction.rst').read())
history = re.sub(r':mod:|:class:|:func:', '', open('HISTORY.rst').read())
'', open('docs/introduction.rst', encoding='utf-8').read())
history = re.sub(r':mod:|:class:|:func:', '', open('HISTORY.rst', encoding='utf-8').read())

test_requirements = open('tests/requirements.txt').read().splitlines()

Expand Down

0 comments on commit a92b20c

Please sign in to comment.