Skip to content

Commit

Permalink
Python 2 compatibility fix for setup.py with.open (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyanshs7 authored Feb 27, 2024
1 parent 9b44b82 commit 29553eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## [0.16.0]

### Changed

- Updated python2 version incompatibility in `setup.py`.

## [0.15.0]

### Changed
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import io
from setuptools import setup, find_packages

from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
with io.open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

setup(
name='card_data_parsers',
version='0.15.0',
version='0.16.0',
author='Siva Narayanan',
author_email='[email protected]',
url='https://www.fylehq.com',
Expand Down

0 comments on commit 29553eb

Please sign in to comment.