Paver 0.8.1 compatibility with python 2.6
Does anyone manage to bootstrap its development area using paver with python 2.6 ?
I have install python 2.6, install paver with easy_install-2.6, everything looks fine. But when I try to launch the bootstrap method it raises an urllib2.HTTPError (: HTTP Error 404: Not Found) while trying to download http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c8-py2.6.egg. I have tryed to add the correct setuptools EGG file (which is 0.6c9) in the support-files directory, bootstrap.py find the EGG file, but doesn't seem to use it because it still try to download the 0.6c8 version which is no more available.
Any ideas how to solve this issue ?
Thanks in advance
Asked by: Alina847 | Posted: 28-01-2022
You should try newer version. =) http://www.blueskyonmars.com/projects/paver/Answered by: Kristian754 | Posted: 01-03-2022
reflection - Checking compatibility of two python functions (or methods)
Is there a possibility to check if two python functions are interchangeable? For instance, if I have def foo(a, b): pass def bar(x, y): pass def baz(x,y,z): pass I would like a function is_compatible(a,b) that returns True when passed foo and bar, but False when passed bar and baz, so I can check if they're interchangeable before actually calling either of them.
python - OpenSocial Win32 compatibility
I am planning to develop an application in Python on the Win32 platform. Does the OpenSocial API work upon the Win32 platform as well? To make things more clear, I need to use information from the OpenSocial API to conduct certain things in the application.
import - hashlib / md5. Compatibility with python 2.4
python 2.6 reports that the md5 module is obsolete and hashlib should be used. If I change import md5 to import hashlib I will solve for python 2.5 and python 2.6, but not for python 2.4, which has no hashlib module (leading to a ImportError, which I can catch). Now, to fix it, I could do a try/catch, and define a getMd5() function so that a proper one gets defined according to the result ...
Compatibility with IIS and Apache -- PHP, Python, etc?
I'm currently planning out a web app that I want to host for people and allow them to host themselves on either Linux/Apache of IIS6 or IIS7 (for the benefits of bandwidth, directory services [login, etc.]). I see that PHP is supported on both platforms. I've heard people serving Django and Python in IIS using PyISAPIe. I'm not sure about Ruby/Rails on IIS until IronRuby ships. I don't have much Perl experience bu...
Speed vs security vs compatibility over methods to do string concatenation in Python
Similar questions have been brought (good speed comparison there) on this same subject. Hopefully this question is different and update...
python - Eclipse and WX compatibility issue
I decided to give PyDev and Eclipse a try. I have compatible version of Python (2.6.5) and wx, but when I try to run a program with PyDev/Eclipse I get the following error: import wx File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/init.py", line 45, in File "/var/tmp...
backwards compatibility - Dealing with context classes in Python 2.4
I'm trying to use the python-daemon module. It supplies the daemon.DaemonContext class to properly daemonize a script. Although I'm primarily targeting Python 2.6+, I'd like to maintain backwards compatibility to version 2.4. Python 2.5 supports importing contexts from future, but Python 2.4 has no such facility. I figured I could just catch whatever error the with statement raises and enter and ex...
m2crypto: python 2.7 compatibility and which version of OpenSSL to use?
We've been using M2crypto with Python 2.6 for Windows (32-bit) for some time with great success. We used one of the user contributed setups to install M2crypto in our development environments. We would like to move to Python 2.7, but noticed there are no pre-built Python 2.7 setups for m2crypto. Questions: Is M2crypto 0.20.2 compatible with Python 2.7 or should we remain at Python 2.6 if we want to...
compatibility - python 2.7 vs python 3.1
Some python 3 features and modules having been backported to python 2.7 what are the notable differences between python 3.1 and python 2.7?
python - Moving code out of __init__.py but keeping backwards compatibility
I'm working on a Python project where a previous developer placed a large portion of the code in the base __init__.py file. I would like to be able to move code out of the file to a new file in a subdirectory. spam/ __init__.py foobar/ __init__.py eggs.py So importing the spam module would use the code in foobar/eggs.py. I would like to keep 100...
Still can't find your answer? Check out these communities...
PySlackers | Full Stack Python | NHS Python | Pythonist Cafe | Hacker Earth | Discord Python