2009/9/28 Gerry Reno <gr...@verizon.net>: > Andrew Straw wrote: >> >> Gerry Reno wrote: >> >>> >>> Andrew Straw wrote: >>> >>>> >>>> Gerry Reno wrote: >>>> >>>>> >>>>> Andrew Straw wrote: >>>>> >>>>>> >>>>>> Gerry Reno wrote: >>>>>> >>>>>>> >>>>>>> Then I'm ok then with having 'bdist_deb' be the name and using the >>>>>>> plugin approach. >>>>>>> >>>>>>> Andrew, what do you think about this solution? >>>>>>> >>>>>> >>>>>> It's already committed as of a couple days ago in the "old-stable" >>>>>> branch and I just merged it into the master branch. >>>>>> >>>>>> I'll release 0.3.1 (from the old-stable branch) and 0.4 (from the >>>>>> master >>>>>> branch) with this soon. >>>>>> >>>>>> -Andrew >>>>>> >>>>> >>>>> In reviewing the gerry-reno git branch and the old-stable branch I >>>>> don't see where there are any user-options declared in >>>>> stdeb/command/bdist_deb.py. Shouldn't the same user-options be there >>>>> as are in sdist_dsc.py? The 'bdist_deb' command usefulness would be >>>>> very limited without the ability to pass options to it and hence to >>>>> 'sdist_dsc'. >>>>> >>>> >>>> What options do you want to pass to it? bdist_deb does very little other >>>> than call dpkg-buildpackage on the result of sdist_dsc. >>>> >>>> As far as how -- that's standard distutils. You should be able to follow >>>> the lead from the sdist_dsc command, for example. >>>> >>>> >>> >>> Well, for starters, we need to be able to pass the option >>> '--ignore-single-version-externally-managed' and beyond that we need >>> to pass other options down to sdist_dsc, things like >>> '--ignore-install-requires'. >>> >> >> Just pass the arguments directly to sdist_dsc. It should be something >> like this: >> >> python setup.py sdist_dsc --ignore-single-version-externally-managed >> --ignore-install-requires bdist_deb >> > > How's that going to work? You have 'sdist_dsc' on the command line as well > as 'bdist_deb'. 'bdist_deb' also calls 'sdist_dsc' internally but this > time it would be without any arguments? How can that work? >
OK I know I'm a noob on *nix distribution of python apps', but: Would it be possible to extend setup.py with info for package dependency? Then python setup.py sdist_deb would know what package dependencies it needs to add to the resulting .deb file. > Regards, > Gerry > > _______________________________________________ > Distutils-SIG maillist - distutils-...@python.org > http://mail.python.org/mailman/listinfo/distutils-sig > -- twitter.com/olofb olofb.wordpress.com olofb.wordpress.com/tag/english _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig