divijbindlish / parse-torrent-name

Extract media information from a filename
MIT License
215 stars 60 forks source link

Fix setup.py README read to work on Windows #9

Closed blakev closed 7 years ago

blakev commented 7 years ago

Fixes the ability to pip install on Windows.

Would fail from an ambiguous file type error when trying to read the README file in setup.py. Using codecs module allows specifying an encoding parameter, which is only available in open(..) in Python3+.