[issue1054967] bdist_deb - Debian packager

2010-04-28 Thread Andrew Straw

Andrew Straw  added the comment:

Barry, stdeb does much of what you're describing. (Try the "python setup.py 
sdist_dsc" command.)

I'm not particularly pleased with the stdeb codebase as it stands, but it does 
work reasonably well, and I'd like to see progress in this domain, but I'm 
afraid I don't understand the difference between what it offers and what you're 
proposing. I guess maybe you're not aware of the "sdist_dsc" distutils command 
it offers?

-Andrew

--

___
Python tracker 
<http://bugs.python.org/issue1054967>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1054967] bdist_deb - Debian packager

2010-04-29 Thread Andrew Straw

Andrew Straw  added the comment:

Barry, I'm sorry I still don't understand what you think is the essential 
distinction. A debian source package (.dsc, .orig.tar.gz, and .diff.gz files) 
is simply made from a (patched) source directory, including the debian/ 
directory, and an upstream tarball. To build this sdist_dsc must of course make 
the debian/ directory. Thus, it "takes a non-Debianized source tree and turn it 
into a native [Debian source] package, essentially by pre-filling a debian/ 
directory like dh_make does, but including additional metadata available in the 
setup.py". Then, once it done this, it calls "dpkg-buildpackage -S" to turn 
this filesystem structure into the actual source package. If your final goal is 
simply the filesystem structure rather than the Debian source package (.dsc, 
.orig.tar.gz and .diff.gz), then it seems like it would be easier to refactor 
stdeb to stop before calling dpkg-buildpackage rather than writing a whole new 
alternate way of generating the debian/ directory based on t
 he contents of setup.py.

So I'm afraid I still don't understand what you want setupdebian to do that 
stdeb does not.

--

___
Python tracker 
<http://bugs.python.org/issue1054967>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1054967] bdist_deb - Debian packager

2010-04-29 Thread Andrew Straw

Andrew Straw  added the comment:

I see. So is copying the debian/ directory into its desired location a 
possibility for you, either manually or via a new distutils commands that 
shares 99% of its code with sdist_dsc? It doesn't seem like enough of a 
difference to start a new project.

--

___
Python tracker 
<http://bugs.python.org/issue1054967>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1054967] bdist_deb - Debian packager

2010-05-03 Thread Andrew Straw

Andrew Straw  added the comment:

I have moved the recent discussion on stdeb to a thread on the distutils-sig.

--

___
Python tracker 
<http://bugs.python.org/issue1054967>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1054967] bdist_deb - Debian packager

2009-10-04 Thread Andrew Straw

Andrew Straw  added the comment:

stdeb ( http://github.com/astraw/stdeb ) now includes a bdist_deb
distutils command.

--

___
Python tracker 
<http://bugs.python.org/issue1054967>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1054967] bdist_deb - Debian packager

2009-12-30 Thread Andrew Straw

Andrew Straw  added the comment:

As of stdeb 0.5.0, the setuptools dependency has been removed. Now stdeb
requires only plain distutils.

--

___
Python tracker 
<http://bugs.python.org/issue1054967>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com