thammi / brotherhood-solver

Cross plattform client for Captcha Brotherhood
7 stars 4 forks source link

A little patch to let it run on Windows and others... #1

Open jnko opened 12 years ago

jnko commented 12 years ago

In gui.py replace line "CONFIG_FILE = '~/.brother_solver'" with CONFIG_FILE = os.path.expanduser('~/.brother_solver')

In order to install on Windows:

  1. Get curl for Windows - just google it
  2. Since setuptools for Python3 does not work at all, you should use "Distribute", a fork. http://packages.python.org/distribute/ http://pypi.python.org/pypi/distribute

From the bottom of the page to install distribute:

$ curl -O http://python-distribute.org/distribute_setup.py $ python distribute_setup.py

  1. setup.py install --user
  2. Config file needs to be placed into users home (just like as in UN*X)

Works fine in Win32 ;-)

thammi commented 12 years ago

I am quite sure that the change you propose is already included. 'os.path.expanduser()' is called in line 136.

I will include your installation instructions in the readme if that is ok with you.

jnko commented 11 years ago

Yes, you are right. It was already included. Sorry about this.

I'll add a little bit more details about installing on Windows. Additionally I think about extending your project. My main thoughts are:

Well these are just my two cents and thoughts. I will investigate it when I've a little bit spare time (which is quite rare ;-)