jjlee / mechanize

Stateful programmatic web browsing in Python, after Andy Lester's Perl module WWW::Mechanize .
http://wwwsearch.sourceforge.net/mechanize/
618 stars 123 forks source link

py2to3 addition in setup.py #80

Closed alisaifee closed 11 years ago

alisaifee commented 11 years ago

having the additional setting will allow mechanize to be python3.X compatible

jjlee commented 11 years ago

Hi Ali

I could well be missing something, but does this really help given the fact that mechanize doesn't work on Python 3?

On Tue, 22 Jan 2013, Ali-Akber Saifee wrote:

having the additional setting will allow mechanize to be python3.X compatible You can merge this Pull Request by running:

git pull https://github.com/alisaifee/mechanize master

Or you can view, comment on it, or merge it online at:

https://github.com/jjlee/mechanize/pull/80

-- Commit Summary --

  • add use_2to3 in setup.py options when building on python3.x

-- File Changes --

M setup.py (6)

-- Patch Links --

https://github.com/jjlee/mechanize/pull/80.patch https://github.com/jjlee/mechanize/pull/80.diff

alisaifee commented 11 years ago

Hi John, you're absolutely right - mechanize is a dependency of a project i'm trying to port and I didn't go further than testing the installation of the module after 2to3 is done converting some bits (should have). the 2to3 tool is not successful in completely porting mechanize to python3.

sorry about the untested pull request.