automake
[Top][All Lists]
Advanced

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

Python files installation


From: Paul Pogonyshev
Subject: Python files installation
Date: Sun, 10 Dec 2006 18:18:52 +0200
User-agent: KMail/1.7.2

Hi,

Since I already require autotools (there are also .cpp files in my
program), I decided to use them also for installing Python parts
instead of writing `setup.py'.  However, including files in
`python_PYTHON' primary causes all paths to be flattened, while I
want my Python sources be nicely organized in a tree of packages.
Is there a way to do it with Autotools or should use Pythonic
installation tools instead?

I.e.

  python_PYTHON = foo/bar/baz.py foo/baz/test.py

causes files `baz.py' and `test.py' be installed together in
${python_prefix}/site-packages/

Paul


P.S. I would really hate to add `Makefile.in' to each Python
     sources tree directory if that is required...




reply via email to

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