Skip to content

Commit

Permalink
Changed setup to only import open from io module
Browse files Browse the repository at this point in the history
Removed commented out code
  • Loading branch information
Daron Andrew Edie committed Jul 17, 2018
1 parent b45c4e9 commit 2bc7e89
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# N.B. to push a new version to PyPi, update the version number
# in rfhub/version.py and then run 'python setup.py sdist upload'
import io
from io import open

from setuptools import setup

# from version import __version__

exec(open('PageObjectLibrary/version.py').read())

setup(
Expand All @@ -17,7 +15,7 @@
keywords='robotframework',
license='Apache License 2.0',
description='RobotFramework library that implements the Page Object pattern',
long_description=io.open('README.md', encoding='latin-1').read(),
long_description=open('README.md', encoding='latin-1').read(),
zip_safe=True,
include_package_data=True,
install_requires=['robotframework', 'robotframework-seleniumlibrary', 'selenium', 'six'],
Expand Down

0 comments on commit 2bc7e89

Please sign in to comment.