# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import setuptools from novalib import version setuptools.setup( name="python-novalib", version=version.version_hash(), author="Rackspace Hosting", author_email="*****@*****.**", description="Client library for OpenStack Nova API.", license="Apache License, Version 2.0", packages=["novalib", "novalib.plugins"], install_requires=[ "requests", ], scripts=["bin/nova"], classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent",
def test_version_hash(self): self.assertEqual(len(version.version_hash()), 11)