summaryrefslogtreecommitdiffstats
path: root/hpa/setup.py
diff options
context:
space:
mode:
authorHaibin Huang <haibin.huang@intel.com>2019-11-12 17:20:03 +0800
committerHaibin Huang <haibin.huang@intel.com>2020-01-20 16:31:46 +0800
commit5f8e9379af90e81ad4a4d27b8cf6afb6edb40569 (patch)
tree17061ffe8fee62f458aee7defbb5faf3b3cccbee /hpa/setup.py
parent860d099f352eb762f1f181f189867ed2c3f322a9 (diff)
Make hpa discovery as plugin
Issue-ID: MULTICLOUD-695 Change-Id: I04547cfe664dfed457a228c04dfdf71c96b0ded0 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Diffstat (limited to 'hpa/setup.py')
-rw-r--r--hpa/setup.py43
1 files changed, 43 insertions, 0 deletions
diff --git a/hpa/setup.py b/hpa/setup.py
new file mode 100644
index 00000000..93babd2a
--- /dev/null
+++ b/hpa/setup.py
@@ -0,0 +1,43 @@
+from setuptools import setup, find_packages
+
+setup(
+ name='hpa',
+ version='1.0',
+
+ description='HPA discovery package for stevedore',
+
+ author='Haibin Huang',
+ author_email='haibin.huang@intel.com',
+
+ url='https://opendev.org/openstack/stevedore',
+
+ classifiers=['Development Status :: 3 - Alpha',
+ 'License :: OSI Approved :: Apache Software License',
+ 'Programming Language :: Python',
+ 'Programming Language :: Python :: 2',
+ 'Programming Language :: Python :: 2.7',
+ 'Programming Language :: Python :: 3',
+ 'Programming Language :: Python :: 3.5',
+ 'Intended Audience :: Developers',
+ 'Environment :: Console',
+ ],
+
+ platforms=['Any'],
+
+ scripts=[],
+
+ provides=['hpa',
+ ],
+
+ packages=find_packages(),
+ install_requires=['stevedore'],
+ include_package_data=True,
+
+ entry_points={
+ 'hpa.discovery': [
+ 'discovery = hpa.hpa_discovery:HPA_Discovery',
+ ],
+ },
+
+ zip_safe=False,
+)