From 4fd67b2548f6a503baa76f2404988ae9377ae237 Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Fri, 6 Mar 2015 17:04:24 +0200 Subject: [PATCH] Adds setup files and README --- README.rst | 15 +++++++++++++++ setup.cfg | 28 ++++++++++++++++++++++++++++ setup.py | 30 ++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 README.rst create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/README.rst b/README.rst new file mode 100644 index 00000000..0853a3ca --- /dev/null +++ b/README.rst @@ -0,0 +1,15 @@ +=============================== +compute-hyperv +=============================== + +Hyper-V Nova Driver + +* Free software: Apache license +* Documentation: http://docs.openstack.org/developer/compute-hyperv +* Source: http://git.openstack.org/cgit/stackforge/compute-hyperv +* Bugs: http://bugs.launchpad.net/compute-hyperv + +Features +-------- + +* TODO diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..1d157ec1 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,28 @@ +[metadata] +name = compute-hyperv +summary = Hyper-V Nova Driver +description-file = + README.rst +license = Apache License, Version 2.0 +author = Cloudbase Solutions Srl +author-email = info@cloudbasesolutions.com +home-page = http://www.cloudbase.it/ +url = https://github.com/cloudbase/compute-hyperv +classifier = + Environment :: OpenStack + Intended Audience :: Information Technology + Intended Audience :: System Administrators + License :: OSI Approved :: Apache Software License + Operating System :: Microsoft :: Windows + Programming Language :: Python + Programming Language :: Python :: 2 + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 2.6 + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.3 + Programming Language :: Python :: 3.4 +keywords = openstack nova hyper-v compute + +[files] +packages = + hyperv diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..73637574 --- /dev/null +++ b/setup.py @@ -0,0 +1,30 @@ +#!/usr/bin/env python +# Copyright (c) 2013 Hewlett-Packard Development Company, L.P. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# 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. + +# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT +import setuptools + +# In python < 2.7.4, a lazy loading of package `pbr` will break +# setuptools if some other modules registered functions in `atexit`. +# solution from: http://bugs.python.org/issue15881#msg170215 +try: + import multiprocessing # noqa +except ImportError: + pass + +setuptools.setup( + setup_requires=['pbr'], + pbr=True)