Re: compiling Python 2.7.1 with readline module fails on Debian (Virtualbox)

2010-12-22 Thread Jim Pharis
are you running make clean for good measure?

On Wed, Dec 22, 2010 at 3:33 AM, Benedict Verheyen <
benedict.verhe...@gmail.com> wrote:

> Hi,
>
>
> i'm trying to compile Python 2.7.1 on Debian (Virtual Box).
> Compiling end successfully but readline and curses fail to build.
>
> I'm working with virtualenv and I install all my packages in $HOME/local.
> I've downloaded readline, compiled and installed it in $HOME/local, same
> with ncurses.
> Both were the latest releases.
> But somehow, Python isn't able to build them.
>
> I get this message:
>
> Failed to build these modules:
> _curses_curses_panelreadline
>
> So it does seems to find the modules.
> I'm not used to dealing with configure, and make so i can't debug much.
> I first tried this configure line:
> ./configure --enable-shared --prefix=$HOME/local
>
> Next i tried this one:
> env CPPFLAGS="-I$HOME/local/include" LDFLAGS="-L$HOME/local/lib"
> ./configure --enable-shared --prefix=$HOME/local
>
> But make yields the same error.
>
> Any clues on what I do wrong?
>
> The source of ncurses and readline are placed in $HOME/src.
> Both packages are installed in $HOME/local
>
> Thanks for any advice,
>
> Regards,
> Benedict
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: install exe in virtualenv --no-site-packages

2010-01-13 Thread Jim Pharis
Solved this by copying the pywin32.pth file into my virtualenv site-packages
and editing the file to point to the path.

On Tue, Jan 12, 2010 at 5:35 PM, Jim Pharis  wrote:

> How do I install an exe in a sandboxed virtualenv that's been setup with no
> site packages? The package I'm trying to install is pywin32.
>
> TIA,
>
> - Jim
>
-- 
http://mail.python.org/mailman/listinfo/python-list


install exe in virtualenv --no-site-packages

2010-01-12 Thread Jim Pharis
How do I install an exe in a sandboxed virtualenv that's been setup with no
site packages? The package I'm trying to install is pywin32.

TIA,

- Jim
-- 
http://mail.python.org/mailman/listinfo/python-list