Merge lp://staging/~gary/lazr.smtptest/fixversion into lp://staging/lazr.smtptest

Proposed by Gary Poster
Status: Merged
Approved by: Barry Warsaw
Approved revision: 62
Merged at revision: not available
Proposed branch: lp://staging/~gary/lazr.smtptest/fixversion
Merge into: lp://staging/lazr.smtptest
Diff against target: None lines
To merge this branch: bzr merge lp://staging/~gary/lazr.smtptest/fixversion
Reviewer Review Type Date Requested Status
Barry Warsaw Approve
Review via email: mp+11223@code.staging.launchpad.net
To post a comment you must log in.
Revision history for this message
Gary Poster (gary) wrote :

This changes the approach for defining the version. Debian packages have issues with this approach (see bug 400170) and it caused an issue with our buildout branch as well (though I squashed that one). We're moving all of our packages to this version.txt approach.

Revision history for this message
Barry Warsaw (barry) wrote :

On Sep 04, 2009, at 07:15 PM, Gary Poster wrote:

>Gary Poster has proposed merging lp:~gary/lazr.smtptest/fixversion into lp:lazr.smtptest.
>
>Requested reviews:
> Barry Warsaw (barry)
>
>This changes the approach for defining the version. Debian packages have issues with this approach (see bug 400170) and it caused an issue with our buildout branch as well (though I squashed that one). We're moving all of our packages to this version.txt approach.

 review approve
 status approve

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'setup.py'
--- setup.py 2009-06-22 22:40:16 +0000
+++ setup.py 2009-09-04 19:06:38 +0000
@@ -36,9 +36,7 @@
36 return '\n'.join(res)36 return '\n'.join(res)
37# end generic helpers37# end generic helpers
3838
3939__version__ = open("src/lazr/smtptest/version.txt").read().strip()
40sys.path.insert(0, 'src')
41from lazr.smtptest import __version__
4240
43setup(41setup(
44 name='lazr.smtptest',42 name='lazr.smtptest',
4543
=== modified file 'src/lazr/smtptest/__init__.py'
--- src/lazr/smtptest/__init__.py 2009-06-30 00:40:38 +0000
+++ src/lazr/smtptest/__init__.py 2009-09-04 19:06:38 +0000
@@ -16,5 +16,6 @@
1616
17"The lazr.smtptest package."17"The lazr.smtptest package."
1818
1919import pkg_resources
20__version__ = '1.2'20__version__ = pkg_resources.resource_string(
21 "lazr.smtptest", "version.txt").strip()
2122
=== added file 'src/lazr/smtptest/version.txt'
--- src/lazr/smtptest/version.txt 1970-01-01 00:00:00 +0000
+++ src/lazr/smtptest/version.txt 2009-09-04 19:06:38 +0000
@@ -0,0 +1,1 @@
11.2

Subscribers

People subscribed via source and target branches

to all changes: