[Baypiggies] __init__.py.in
Jason Culverhouse
jason at mischievous.org
Thu Nov 12 21:02:43 CET 2009
On Nov 12, 2009, at 11:22 AM, Alison Chaiken wrote:
> Sorry for this newbie question, but I'm stumped. I'd like to use
> package pyatspi, which comes with (among other things) a file called
> __init__.py.in. The instructions for installation say to run
> "python setup.py install" as expected. However "python setup.py
> install" and "python setup.py build" give me the error
>
> running build
> running build_py
> package init file '__init__.py' not found (or not a regular file)
> package init file '__init__.py' not found (or not a regular file)
>
> Well yeah, the svn download doesn't provide an __init__.py file, so I
> don't have one!
>
> What step am I missing here? How do I turn __init__.py.in into
> __init__.py? I can't find the answer in G****e.
>
This must be a piece of a larger build process, the ".in" file is a
GNU Autoconf template,
copy __init__.py.in to __init__.py and put in the values for
things with @SOMETHING@
specifically:
__version__ = (@AT_SPI_MAJOR_VERSION@, @AT_SPI_MINOR_VERSION@,
@AT_SPI_MICRO_VERSION@)
You might consider installing with your linux distro install tools
(apt/rmp etc.)
Jason
More information about the Baypiggies
mailing list