AndreaCensi/contracts

1.7.7 release on PyPI doesn't build for Python 3

Closed this issue · 3 comments

setup.py fails with the following error, and the code doesn't seem to be here :/

Traceback (most recent call last):
  File "setup.py", line 35, in <module>
    version = get_version(filename='src/contracts/__init__.py')
  File "setup.py", line 24, in get_version
    with file(filename) as f:
NameError: name 'file' is not defined

oops - I'm traveling without Python3 access. Could you fix this and send a pull request? Thanks.

Thanks for the quick fix. I was trying to fix but didn't see the latest code on GitHub, so I have to open an issue only.

no problem - it's not really tested but Shippable says Python3 passes.

On Tue, Nov 10, 2015 at 9:50 AM, Felix Yan notifications@github.com wrote:

Thanks for the quick fix. I was trying to fix but didn't see the latest
code on GitHub, so I have to open an issue only.


Reply to this email directly or view it on GitHub
#44 (comment)
.