make install with python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Uwe Mayer

    #1

    make install with python

    Hi,

    I am writing a Python application and use the GNU auto-tools to compile what
    needs compilation (i.e. Qt's .ui files).
    However, I don't know how to write an automake file that installs the main
    file (lmc.py) and some library files (i.e. ClassA.py, ClassB.py) into the
    appropriate directories.

    Any tips there?

    Thanks
    Uwe
  • Reinhold Birkenfeld

    #2
    Re: make install with python

    Uwe Mayer wrote:[color=blue]
    > Hi,
    >
    > I am writing a Python application and use the GNU auto-tools to compile what
    > needs compilation (i.e. Qt's .ui files).
    > However, I don't know how to write an automake file that installs the main
    > file (lmc.py) and some library files (i.e. ClassA.py, ClassB.py) into the
    > appropriate directories.[/color]

    The regular way is to use distutils and a setup.py file (google for
    documentation).

    Reinhold

    Comment

    • Uwe Mayer

      #3
      Re: make install with python

      Friday 21 January 2005 20:47 pm Reinhold Birkenfeld wrote:

      [...][color=blue]
      > The regular way is to use distutils and a setup.py file (google for
      > documentation).[/color]

      Ok, thanks. The <http://www.python.org/doc/2.3.4/dist/dist.html> document
      described just what I was looking for.

      Any suggestions how I handle uninstallation? This was provided by automake
      rather mechanically. I didn't find a section on that in the distutils
      documentation.. . :(

      Uwe

      Comment

      Working...