Change version conventions

Use a `.` instead of `-` for version numbers. This is due to
a conflict with pep440 that triggers once you have a long
enough version number. This may be a bug in `pip` but it is
not pragmatic to think we can have that fixed in the near-term.

Closes https://github.com/vmware/pyvmomi/issues/174
This commit is contained in:
Shawn Hartsock
2014-09-22 11:40:27 -04:00
parent c99ab2082b
commit ebf0f79420
2 changed files with 8 additions and 8 deletions

View File

@@ -52,17 +52,17 @@ For general language neutral documentation of vSphere Management API see:
Python Support Python Support
============== ==============
* pyVmomi 5.5.0-2014.1 and later support Python 2.6, 2.7, 3.3 and 3.4 * pyVmomi 5.5.0.2014.1 and later support Python 2.6, 2.7, 3.3 and 3.4
* pyVmomi 5.5.0 and below support Python 2.6 and 2.7 * pyVmomi 5.5.0 and below support Python 2.6 and 2.7
Compatibility Policy Compatibility Policy
==================== ====================
pyVmomi versions are marked vSphere_version-release . Pyvmomi maintains minimum pyVmomi versions are marked vSphere_version.release . Pyvmomi maintains minimum
backward compatibility with the previous _four_ releases of *vSphere* and it's backward compatibility with the previous _four_ releases of *vSphere* and it's
own previous four releases. Compatibility with much older versions may continue own previous four releases. Compatibility with much older versions may continue
to work but will not be actively supported. to work but will not be actively supported.
For example, version v5.5.0-2014.1 is most compatible with vSphere 5.5, 5.1, For example, version v5.5.0.2014.1 is most compatible with vSphere 5.5, 5.1,
5.0, and 4.1 and was the first release in 2014. Initial releases compatible with 5.0, and 4.1 and was the first release in 2014. Initial releases compatible with
a version of vSphere will bare a naked version number of v5.5.0 indicating that a version of vSphere will bare a naked version number of v5.5.0 indicating that
version of pyVmomi was released simultaneously with the *GA* version of vSphere version of pyVmomi was released simultaneously with the *GA* version of vSphere
@@ -70,10 +70,10 @@ with the same version number.
Releases Releases
======== ========
* `5.5.0-2014.1.1 <https://github.com/vmware/pyvmomi/tree/v5.5.0-2014.1.1>`_ * `5.5.0.2014.1.1 <https://github.com/vmware/pyvmomi/tree/v5.5.0.2014.1.1>`_
release notes https://github.com/vmware/pyvmomi/releases/tag/v5.5.0-2014.1.1 release notes https://github.com/vmware/pyvmomi/releases/tag/v5.5.0.2014.1.1
* `5.5.0-2014.1 <https://github.com/vmware/pyvmomi/tree/v5.5.0-2014.1>`_ * `5.5.0.2014.1 <https://github.com/vmware/pyvmomi/tree/v5.5.0.2014.1>`_
release notes https://github.com/vmware/pyvmomi/releases/tag/v5.5.0-2014.1 release notes https://github.com/vmware/pyvmomi/releases/tag/v5.5.0.2014.1
* `5.5.0 <https://github.com/vmware/pyvmomi/tree/v5.5.0>`_ * `5.5.0 <https://github.com/vmware/pyvmomi/tree/v5.5.0>`_
* `5.1.0 <https://github.com/vmware/pyvmomi/tree/v5.1.0>`_ * `5.1.0 <https://github.com/vmware/pyvmomi/tree/v5.1.0>`_
release notes https://github.com/vmware/pyvmomi/releases/tag/v5.1.0 release notes https://github.com/vmware/pyvmomi/releases/tag/v5.1.0

View File

@@ -28,7 +28,7 @@ with open('test-requirements.txt') as f:
setup( setup(
name='pyvmomi', name='pyvmomi',
version='5.5.0-2014.1.1', version='5.5.0.2014.1.1',
description='VMware vSphere Python SDK', description='VMware vSphere Python SDK',
# NOTE: pypi prefers the use of RST to render docs # NOTE: pypi prefers the use of RST to render docs
long_description=read('README.rst'), long_description=read('README.rst'),