Installing python-gnutls on Windows

I

IronyOfLife

Hi,

I'm new to python and would like to request your help installing
python-gnutls on windows. Are there binaries available which can be
installed ?

Looks like the setup.py file which came with the package is for
Debian. I tried modifying it for windows but am still getting errors.

get_options() is not getting the include directories and libraries so
I harcoded the include directories. I'm getting the following error
now:
//-----------------------------------------------------------------------------------
C:\Development\python\python-gnutls-1.1.8>python setup.py build --
compiler=mingw32
running build
running build_py
running build_ext
building 'gnutls.library._gnutls_init' extension
Traceback (most recent call last):
File "setup.py", line 86, in <module>
libraries='-lgnutls -lgnutls-extra')])
File "C:\Python26\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "C:\Python26\lib\distutils\dist.py", line 975, in run_commands
self.run_command(cmd)

....

File "C:\Python26\lib\distutils\command\build_ext.py", line 471, in
build_exte
nsions
self.build_extension(ext)

...

depends=ext.depends)
File "C:\Python26\lib\distutils\ccompiler.py", line 689, in compile
depends, extra_postargs)
File "C:\Python26\lib\distutils\ccompiler.py", line 363, in
_setup_compile
"'include_dirs' (if supplied) must be a list of strings"
TypeError: 'include_dirs' (if supplied) must be a list of strings
//-------------------------------------------------------------------------------------

I would really appreciate your help

Thanks

Ramg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,962
Messages
2,570,134
Members
46,692
Latest member
JenniferTi

Latest Threads

Top