Feature 10296 Pip Standardization
Creates standard template for tox.ini
Introduces 'safety' for listing upstream CVEs
Pins all versions of all upstream modules
Removes Makefile step and places all build logic into tox.ini
Change-Id: Ic14321bd5bddb322db08ac3e25202cc64cac2dff
Signed-off-by: David Garcia <david.garcia@canonical.com>
diff --git a/setup.py b/setup.py
index 7a4fe87..ec1dccb 100644
--- a/setup.py
+++ b/setup.py
@@ -14,27 +14,29 @@
from setuptools import setup, find_packages
-_description = 'OSM library implementing common interface towards VCA module'
+_name = "N2VC"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_description = "OSM library implementing common interface towards VCA module"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/N2VC.git;a=tree"
setup(
- name='N2VC',
- version_command=('git describe --match v* --tags --long --dirty',
- 'pep440-git-full'),
- packages=find_packages(
- exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
- install_requires=[
- 'juju==2.8.4',
- 'pyasn1>=0.4.4',
- 'kubernetes==10.0.1'
- ],
- include_package_data=True,
- maintainer='Adam Israel',
- maintainer_email='adam.israel@canonical.com',
+ name=_name,
+ version_command=_version_command,
description=_description,
- url='',
- license='Apache 2',
- entry_points={
- 'console_scripts': [
- ],
- },
+ long_description=open("README.md", encoding="utf-8").read(),
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
+ packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
+ include_package_data=True,
+ entry_points={"console_scripts": []},
+ setup_requires=['setuptools-version-command']
)