Generating setup.py

Stefano Zacchiroli zack at debian.org
Sun Jul 1 07:58:05 UTC 2007


On Sat, Jun 30, 2007 at 10:03:17PM -0600, John Wright wrote:
> I noticed that the version argument in setup.py was out-of-date.  Since
> distutils makes .egg-info files based on this version information, it
> would be good to have this reflect the actual version of python-debian.
> So, I've renamed setup.py to setup.py.in, replacing the version string
> with a placeholder, and I'm generating setup.py in debian/rules, pulling
> the version from debian/changelog.
> 
> Is everyone ok with this?

Fine, go ahead, maybe add the usual disclaimer "generated file, do not
head, bla bla" to avoid common mistakes.

-- 
Stefano Zacchiroli -*- PhD in Computer Science ............... now what?
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
(15:56:48)  Zack: e la demo dema ?    /\    All one has to do is hit the
(15:57:15)  Bac: no, la demo scema    \/    right keys at the right time
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-python-debian-discuss/attachments/20070701/a3218230/attachment.pgp 


More information about the pkg-python-debian-discuss mailing list