Export to GitHub

pybluez - issue #6

Installer issue - cannot specify path for python


Posted on May 22, 2008 by Helpful Bird

What steps will reproduce the problem? 1. Run PyBluez-0.15.win32-py2.5.exe 2. Installer complains, 'Python v2.5 req, which was not found in registry' 3. python bin cannot be specified

What is the expected output? What do you see instead? See attached

What version of the product are you using? On what operating system? PyBluez-0.15.win32-py2.5. Win XP SP2

Please provide any additional information below. Path for python cannot be pasted in to dialog box. Python v2.5 installed in C:\cygwin\bin

Attachments

Comment #1

Posted on Jun 3, 2008 by Helpful Bird

Can you please remove the hard-coded path you are using for python and allow the user to specify path in the installer?

Comment #2

Posted on Jun 3, 2008 by Quick Rabbit

There is no hard-coded python path. That's all done by the python distutils module automatically, which searches the windows registry for Python installations. Since Cygwin Python doesn't modify the windows registry, I don't think it will ever be detected by any distutils module. Do you know of other windows binary extension modules for which this works?

Comment #3

Posted on Jun 3, 2008 by Helpful Bird

Comment deleted

Comment #4

Posted on Jun 3, 2008 by Helpful Bird

Ahh i see, yes cygwin will not add a windows registry key specifying the python bin path.

So I suggest you add a feature in to the installer that will allow the user to specify a path for python if one was not found in the registry.

Can you do that please?

Thanks.

-Darin

Comment #5

Posted on Jun 3, 2008 by Quick Rabbit

It's unfortunately not as easy as you'd like. The installer program is generated automatically by python distutils, so I don't have much control over that process.

Comment #6

Posted on Jun 12, 2008 by Quick Rabbit

(No comment was entered for this change.)

Comment #7

Posted on Jun 17, 2010 by Swift Camel

Comment deleted

Comment #8

Posted on Jun 17, 2010 by Swift Camel

I correct my previous comment (deleted): Error only occurs for 64bit Python installations - my mistake.

Status: WontFix

Labels:
Type-Defect Priority-Medium