Skip to content

Commit

Permalink
Merge pull request #1679 from yetanotherion/ui_pkg
Browse files Browse the repository at this point in the history
buildbot_pkg: do not set version if already set
  • Loading branch information
Mikhail Sobolev committed May 20, 2015
2 parents c82c5ed + 4ab313f commit a63dc6c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/buildbot_pkg.py
Expand Up @@ -144,6 +144,9 @@ def find_data_files(self, package, src_dir):

def setup_www_plugin(**kw):
package = kw['packages'][0]
setup(version=getVersion(os.path.join(package, "__init__.py")),
cmdclass=dict(build=my_build, egg_info=my_egg_info, build_py=my_build_py),
if 'version' not in kw:
kw['version'] = getVersion(os.path.join(package, "__init__.py"))
setup(cmdclass=dict(build=my_build,
egg_info=my_egg_info,
build_py=my_build_py),
**kw)

0 comments on commit a63dc6c

Please sign in to comment.