[pylons-discuss] Re: running pytest and pyramid within a docker container, resolving distribution not found error and import mismatch errors

2019-02-21 Thread 'dcs3spp' via pylons-discuss
Got it working :) Thanks again to Lele. Much appreciated :) On Wednesday, 20 February 2019 17:26:43 UTC, dcs3spp wrote: > > Cheers Lele > > ok thanks for the tip re requirements.txt and setup.py dependencies. > > At the moment I am battling with changing over to pip 19. Once sorted will > then

[pylons-discuss] Re: running pytest and pyramid within a docker container, resolving distribution not found error and import mismatch errors

2019-02-20 Thread 'dcs3spp' via pylons-discuss
Cheers Lele ok thanks for the tip re requirements.txt and setup.py dependencies. At the moment I am battling with changing over to pip 19. Once sorted will then try the ideas out Again thanks or your help, much appreciated :) Kind regards dcs3spp On Wednesday, 20 February 2019

[pylons-discuss] Re: running pytest and pyramid within a docker container, resolving distribution not found error and import mismatch errors

2019-02-20 Thread Lele Gaifax
"'dcs3spp' via pylons-discuss" writes: > Thanks Lele, much appreciated. You're welcome! > My package has the name pyramid_core. It looks as though pip is > automatically converting the underscore character to a hyphen. > After some googling, this error can be caused by pycache files

[pylons-discuss] Re: running pytest and pyramid within a docker container, resolving distribution not found error and import mismatch errors

2019-02-20 Thread 'dcs3spp' via pylons-discuss
Thanks Lele, much appreciated. Yes, your response has helped a lot and confirms it is possible. I like the use of no:cacheprovider and will add that to my Dockerfile to save a lot of headaches, see below... Based on your response it seems that I am almost there... I have been installing my

[pylons-discuss] Re: running pytest and pyramid within a docker container, resolving distribution not found error and import mismatch errors

2019-02-19 Thread Lele Gaifax
"'dcs3spp' via pylons-discuss" writes: > Has anyone had any experience with testing pyramid from within a docker > container so that changes to source code are recognised within the > container. Yes, I do that very often: basically I install all project modules in edit-mode inside the image,

[pylons-discuss] running pytest and pyramid within a docker container, resolving distribution not found error and import mismatch errors

2019-02-19 Thread 'dcs3spp' via pylons-discuss
Hi, Has anyone had any experience with testing pyramid from within a docker container so that changes to source code are recognised within the container. I am experiencing issues with the container failing to recognise python package. My pytests and custom library, pyramid_core, are running

Re: Distribution not found error

2012-02-20 Thread Artur Daschevici
I managed to get somwhere...at least to get something usable to go on. Seems that i set up previous versions of pylons on apache and that was what was breaking my software. The discrepancy between the libs in my virtual env and the lisb in my python install. On Feb 18, 11:05 am, Gael Pasgrimaud

Re: Distribution not found error

2012-02-20 Thread Artur Daschevici
Thanks all for the answers. On Feb 18, 11:05 am, Gael Pasgrimaud g...@gawel.org wrote: On Sat, Feb 18, 2012 at 6:55 AM, Artur Daschevici a.daschev...@gmail.com wrote: Does anyone else have any other ideas...or any ideas on how to debug this better? Have you tried with the

Re: Distribution not found error

2012-02-18 Thread Gael Pasgrimaud
On Sat, Feb 18, 2012 at 6:55 AM, Artur Daschevici a.daschev...@gmail.com wrote: Does anyone else have any other ideas...or any ideas on how to debug this better? Have you tried with the activate_this.py script ? http://pypi.python.org/pypi/virtualenv#using-virtualenv-without-bin-python At

Re: Distribution not found error

2012-02-17 Thread Artur Daschevici
Does anyone else have any other ideas...or any ideas on how to debug this better? At this point i would pretty much try anything new...well maybe short of reinstalling everything from python up. -- You received this message because you are subscribed to the Google Groups pylons-discuss group.

Distribution not found error

2012-02-15 Thread Artur Daschevici
This is the stacktrace i am getting: mod_wsgi (pid=5140): Target WSGI script 'H:/aaa/testsite/apache/ handler.wsgi' cannot be loaded as Python module. [Thu Feb 16 00:34:55 2012] [error] [client 127.0.0.1] mod_wsgi (pid=5140): Exception occurred processing WSGI script 'H:/aaa/testsite/

Re: Distribution not found error

2012-02-15 Thread Jonathan Vanasco
did you run `setup.py develop` ? -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com.

Re: Distribution not found error

2012-02-15 Thread Artur Daschevici
Yes. Same outcome. This is my handler.wsgi import os, sys from paste.deploy import loadapp sys.path.append('h:/aaa/testsite') #sys.path.append('g:/testsite/Lib/site-packages') #import site #site.addsitedir('/home/simplesite/env/lib/python2.5/site-packages')