From 1ad876471ad26419b3f92972ffabc42060a66733 Mon Sep 17 00:00:00 2001 From: Haibin Huang Date: Wed, 26 Feb 2020 14:33:49 +0800 Subject: Change package release info Issue-ID: MULTICLOUD-694 Signed-off-by: Haibin Huang Change-Id: Ib784f35fa4c4cc6759613cbab687106bc952094b --- hpa/LICENSE | 2 +- hpa/release.md | 3 +++ hpa/setup.py | 6 +++++- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 hpa/release.md (limited to 'hpa') diff --git a/hpa/LICENSE b/hpa/LICENSE index fffadb02..25a61546 100644 --- a/hpa/LICENSE +++ b/hpa/LICENSE @@ -7,7 +7,7 @@ licenses. # # ------------------------------------------------------------------------- -# Copyright (c) 2015-2017 AT&T Intellectual Property +# Copyright (c) 2020 AT&T Intellectual Property # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/hpa/release.md b/hpa/release.md new file mode 100644 index 00000000..81eb33d8 --- /dev/null +++ b/hpa/release.md @@ -0,0 +1,3 @@ +python3 -m pip install --user --upgrade setuptools wheel +python3 setup.py sdist bdist_wheel +python3 -m twine upload dist/* diff --git a/hpa/setup.py b/hpa/setup.py index 93babd2a..d7291cec 100644 --- a/hpa/setup.py +++ b/hpa/setup.py @@ -1,10 +1,14 @@ from setuptools import setup, find_packages +with open("README.md", "r") as fh: + long_description = fh.read() + setup( - name='hpa', + name='onaphpadriver', version='1.0', description='HPA discovery package for stevedore', + long_description=long_description, author='Haibin Huang', author_email='haibin.huang@intel.com', -- cgit 1.2.3-korg