Re: How to split modules in multiple deb packages

2017-02-21 Thread Simone Rossetto
Hi Ioannes, > why would you want to do that? > i mean: what harm comes from shipping the rpi.py file on non-rpi systems? Because only the rpi module requires gpiozero module to work properly, but I cannot put a dependency on gpiozero for the whole package. > is that file exposed to the user or i

Re: How to split modules in multiple deb packages

2017-02-21 Thread Simone Rossetto
Hi Piotr, > ("mypackage" is module name which will be shipped in python3-mypackage > binary package and "rpi" or "rpi-daemon" is binary package shipping the > daemon) > [...] > if it's one file only (without private modules) you can install directly > into /usr/bin/ The file rpi.py is a module o

Re: How to split modules in multiple deb packages

2017-02-20 Thread Simone Rossetto
Hi Dominik, thanks for your reply. > Well, in that case, with you being upstream, I'd separate the two > packages entirely. Yes, I can do that. But, don't you think a whole package for a single python file is... too much? >> I can exclude rpi.py module from main package and create a >> python3-m

How to split modules in multiple deb packages

2017-02-18 Thread Simone Rossetto
Hello everybody, I'm packaging a daemon that I've developed in python3 and I need to split the core modules in two deb packages, but I don't now how to do that. One of the module is specific for Raspberry Pi, it adds some functionalities, but the daemon itself doesn't require a Pi hardware and can