ibm-watson-data-lab / ibmos2spark

Facilitates Data I/O between Spark and IBM Object Storage services.
10 stars 8 forks source link

Python3 Support #10

Closed bassel-zeidan closed 7 years ago

bassel-zeidan commented 7 years ago

Background

Currently, the lib can't be imported in python3. The user will get an exception that complains that the file osconfig is not found. The reason behind it is that python3 requires the . for relative paths for this case.

Link: https://stackoverflow.com/questions/12172791/changes-in-import-statement-python3

This PR solves this.

gadamc commented 7 years ago

Looks simple enough. :) Thanks for the testing.

One change needs to be make though, the version number does NOT need to change. So, just remove that and we should be good to go.

bassel-zeidan commented 7 years ago

Done.