automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python and Automake


From: Patrick Moore
Subject: Python and Automake
Date: Mon, 21 Jul 2008 14:19:58 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hi All,

I've been trawling the docs through this to no avail and was hoping someone
here may be able to point me in the right direction

Here's what I'm ultimately trying to achieve:

Bytecompile a python file, and place it in ${prefix}/lib, removing the
python extension.

Currently I have:

nodist_Foo_PYTHON = foo.py
Foodir = ${prefix}/lib

and I'm ending up with foo.py, foo.pyc and foo.pyo in ${prefix}/lib,  as
opposed to ending up with simply a ${prefix}/lib/foo.  Í've attempted to
set PYCFILES to empty, but this doesn't make a ounce of difference

Is there a way to achieve my goal, or failing that, solely a foo.pyc file
in ${prefix}/lib ?

Thanks in advance,

paddy

-- 
[ "Computers are useless, they only give you answers" -- Pablo Picasso ]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]