[Build-common-hackers] How to define DEB_PYTHON_SETUP_CMD per package?

Marc Tardif marc at interunion.ca
Sun Jan 14 18:01:33 CET 2007


I have a project consisting of two packages: server and client. This
project is written in Python and uses a setup script to build either
package. For example, "setup.py server build" for the server and
"setup.py client build" for the client.

So, the problem is that I can seem to define rules to build either
package independently. This is what I have so far which works fine
for building the server:

  include /usr/share/cdbs/1/rules/debhelper.mk
  include /usr/share/cdbs/1/class/python-distutils.mk
  
  DEB_DESTDIR = $(CURDIR)/debian/server
  DEB_PYTHON_SETUP_CMD = setup.py server

However, I'm stuck on knowing what to do about the client.

-- 
Marc Tardif <marc at interunion.ca>
Freenode: cr3, Jabber: cr3 at jabber.org
1024D/72679CAD 09A9 D871 F7C4 A18F AC08 674D 2B73 740C 7267 9CAD




More information about the Build-common-hackers mailing list