Man Linux: Main Page and Category List

NAME

       py2dsc - creates Debian source package from Python package

DESCRIPTION

       usage: py2dsc [options] distfile

              or: py2dsc --help

       where  distfile  is a .zip or .tar.gz file built with the sdist command
       of distutils.

OPTIONS

       --dist-dir (-d)
              directory    to    put    final    built    distributions     in
              (default=’deb_dist’)

       --patch-already-applied (-a)
              patch was already applied (used when py2dsc calls sdist_dsc)

       --default-distribution
              deprecated (see --suite)

       --suite (-z)
              distribution   name   to   use   if   not   specified   in  .cfg
              (default=’unstable’)

       --default-maintainer
              deprecated (see --maintainer)

       --maintainer (-m)
              maintainer name and email  to  use  if  not  specified  in  .cfg
              (default from setup.py)

       --extra-cfg-file (-x)
              additional .cfg file (in addition to stdeb.cfg if present)

       --patch-file (-p)
              patch  file  applied  before  setup.py called (incompatible with
              file specified in .cfg)

       --patch-level (-l)
              patch file applied before  setup.py  called  (incompatible  with
              file specified in .cfg)

       --patch-posix (-q)
              apply the patch with --posix mode

       --remove-expanded-source-dir (-r)
              remove the expanded source directory

       --ignore-install-requires (-i)
              ignore  the  requirements  from  requires.txt  in  the  egg-info
              directory

       --pycentral-backwards-compatibility
              If True (currently the default), enable migration from old stdeb
              that used pycentral

       --workaround-548392
              If  True (currently the default), limit binary package to single
              Python version, working around Debian bug 548392 of debhelper

       --force-buildsystem
              If      True      (the      default),      set      ’DH_OPTIONS=
              --buildsystem=python_distutils--no-backwards-compatibility
              If   True,   set   --pycentral-backwardscompatibility=False  and
              --workaround- 548392=False. (Default=False).

       --guess-conflicts-provides-replaces
              If  True,  attempt  to  guess   Conflicts/Provides/Replaces   in
              debian/control based on apt-cache output. (Default=False).