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

Best practice on how to package a python module along with a c++ program



Hi,

not sure if this is the right list, but it was my closes guess.

I'm packaging a c++ program (horizon-eda) which also contains a
python module written in c++. Upstream's Makefile has a target 'pymodule'
and 'make pymodule' creates horizon.so in the build directory.
According to upstream this has to be copied іnto python's sys.path

I thought about overriding dh_auto_build with

override_dh_auto_build:
  make pymodule
  dh_auto_build

which should at least build the module. But it still needs to be
installed at the right place. What would be the preferred way?

  Uwe

-- 
  MMK GmbH, Fleyer Str. 196, 58097 Hagen
  Uwe.Steinmann@mmk-hagen.de
  Tel: 02331 840446    Fax: 02331 843920

Attachment: signature.asc
Description: PGP signature


Reply to: