On 5 March 2014 11:53, Vincent Ladeuil <email address hidden> wrote:
> 9 + if os.path.exists(component_dir):
> 10 + os.chdir(component_dir)
> 11 + else:
> 12 + # We're probably in the component dir (like when we're called from the
> 13 + # Debian package build).
> 14 + component_dir = os.getcwd()
>
> I thought setup.py and debian packaging where completely separate so I don't quite get why/when this is involved, can you shed some light on what commands you use to trigger that ?
setup.py is called by debhelper as part of the package build.
`debian/rules binary` if you want to manually move through it.
On 5 March 2014 11:53, Vincent Ladeuil <email address hidden> wrote: exists( component_ dir): component_ dir)
> 9 + if os.path.
> 10 + os.chdir(
> 11 + else:
> 12 + # We're probably in the component dir (like when we're called from the
> 13 + # Debian package build).
> 14 + component_dir = os.getcwd()
>
> I thought setup.py and debian packaging where completely separate so I don't quite get why/when this is involved, can you shed some light on what commands you use to trigger that ?
setup.py is called by debhelper as part of the package build.
`debian/rules binary` if you want to manually move through it.