~bzr-upload-devs/bzr-upload/trunk

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Vincent Ladeuil
  • Date: 2010-12-10 12:54:24 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20101210125424-fqijxvfbt0inelj6
Tags: bzr-upload-1.0.0
Prepare 1.0.0 release by being a better packager and bzr citizen.

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
# scary for the user when we say 'Deleting <path>' and are referring to
153
153
# remote files...
154
154
 
 
155
import bzrlib
 
156
import bzrlib.api
 
157
 
 
158
from info import (
 
159
    bzr_plugin_version as version_info,
 
160
    bzr_compatible_versions,
 
161
    )
 
162
 
 
163
if version_info[3] == 'final':
 
164
    version_string = '%d.%d.%d' % version_info[:3]
 
165
else:
 
166
    version_string = '%d.%d.%d%s%d' % version_info
 
167
__version__ = version_string
 
168
 
 
169
bzrlib.api.require_any_api(bzrlib, bzr_compatible_versions)
 
170
 
155
171
from bzrlib import (
156
172
    branch,
157
173
    commands,
177
193
    )
178
194
""")
179
195
 
180
 
version_info = (1, 0, 0, 'dev', 0)
 
196
version_info = (1, 0, 0, 'final', 0)
181
197
plugin_name = 'upload'
182
198
 
183
199