community-libs / vaurien

TCP hazard proxy
https://vaurien.readthedocs.io
Other
379 stars 39 forks source link

Dependency not installed #17

Closed iongion closed 11 years ago

iongion commented 11 years ago

greenlet shuould be included in the dependency list

tarekziade commented 11 years ago

when you install via pip, it will install greenlet as a gevent dependency - how did you install it ?

iongion commented 11 years ago

Sorry, I am one of those ancient beasts that use easy_install

tarekziade commented 11 years ago

It should work on easy_install too - I am curious why it fails for you. do you mind giving your log ?

iongion commented 11 years ago

Sure, I must remove it first, no bloody easy_uninstall ... that's why I should eventually use pip ... but most of the packages installed with pip don't create windows executables (bat, cmd) in PYTHON_HOME\Scripts ... that is why I avoid pip on Windows.

iongion commented 11 years ago

Here it is:

C:\Workspace>easy_install vaurien Searching for vaurien Reading http://pypi.python.org/simple/vaurien/ Best match: vaurien 1.5 Downloading http://pypi.python.org/packages/source/v/vaurien/vaurien-1.5.tar.gz#md5=93d640c2375e5e06b151886116347d5d Processing vaurien-1.5.tar.gz Running vaurien-1.5\setup.py -q bdist_egg --dist-dir c:\users\istoica\appdata\local\temp\easy_install-bsfkch\vaurien-1.5\egg-dist-tmp-iqcqpq warning: no files found matching '.txt' under directory 'vaurien' Adding vaurien 1.5 to easy-install.pth file Installing vaurien-script.py script to C:\SDKs\Python\2.6.6\Scripts Installing vaurien.exe script to C:\SDKs\Python\2.6.6\Scripts Installing vaurien.exe.manifest script to C:\SDKs\Python\2.6.6\Scripts Installing meta-vaurien-script.py script to C:\SDKs\Python\2.6.6\Scripts Installing meta-vaurien.exe script to C:\SDKs\Python\2.6.6\Scripts Installing meta-vaurien.exe.manifest script to C:\SDKs\Python\2.6.6\Scripts

Installed c:\sdks\python\2.6.6\lib\site-packages\vaurien-1.5-py2.6.egg Processing dependencies for vaurien Searching for vaurienclient Reading http://pypi.python.org/simple/vaurienclient/ Best match: vaurienclient 1.0 Downloading http://pypi.python.org/packages/source/v/vaurienclient/vaurienclient-1.0.tar.gz#md5=722b9b3d59637335cf50b1636d0a21c5 Processing vaurienclient-1.0.tar.gz Running vaurienclient-1.0\setup.py -q bdist_egg --dist-dir c:\users\istoica\appdata\local\temp\easy_install-xggpis\vaurienclient-1.0\egg-dist-tmp-_ekjik C:\SDKs\Python\2.6.6\lib\distutils\dist.py:266: UserWarning: Unknown distribution option: 'test_requires' warnings.warn(msg) Adding vaurienclient 1.0 to easy-install.pth file Installing vaurienctl-script.py script to C:\SDKs\Python\2.6.6\Scripts Installing vaurienctl.exe script to C:\SDKs\Python\2.6.6\Scripts Installing vaurienctl.exe.manifest script to C:\SDKs\Python\2.6.6\Scripts

Installed c:\sdks\python\2.6.6\lib\site-packages\vaurienclient-1.0-py2.6.egg Searching for gevent Reading http://pypi.python.org/simple/gevent/ Reading http://www.gevent.org/ Reading http://gevent.org/ Best match: gevent 0.13.8 Downloading http://pypi.python.org/packages/2.6/g/gevent/gevent-0.13.8.win32-py2.6.exe#md5=d4e99bfa0313aeb95aafcc0e1f3ebb63 Processing gevent-0.13.8.win32-py2.6.exe creating 'c:\users\istoica\appdata\local\temp\easy_install-iskkc1\gevent-0.13.8-py2.6-win32.egg' and adding 'c:\users\istoica\appdata\local\temp\easy_install-iskkc1\gevent-0.13.8-py2.6-win32.egg.tmp' to it Moving gevent-0.13.8-py2.6-win32.egg to c:\sdks\python\2.6.6\lib\site-packages Adding gevent 0.13.8 to easy-install.pth file

Installed c:\sdks\python\2.6.6\lib\site-packages\gevent-0.13.8-py2.6-win32.egg Finished processing dependencies for vaurien

then i have to do easy_install greenlet, maybe it is a dependency of gevent and there is where the problem might occur

tarekziade commented 11 years ago

It might be related to using an egg. I have added greenlet as a dependency since it does not hurt in any case