X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=setup.py;h=ab23ca80123be548ef0ef32631a64a39e65c8a6f;hp=1450a159d54a68704cbe0651f05f146711cd7fbe;hb=82b591ceed704c798ead2d9104085a08e75b511b;hpb=f7c0922f9ddcdee33df3783a97d8c7978dae8210;ds=sidebyside diff --git a/setup.py b/setup.py index 1450a15..ab23ca8 100644 --- a/setup.py +++ b/setup.py @@ -12,30 +12,31 @@ # See the License for the specific language governing permissions and # limitations under the License. -from pathlib import Path from setuptools import setup, find_packages +_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=0.1, - packages=find_packages( - exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), - install_requires=[ - 'macaroonbakery>=1.1,<2.0', - 'pyRFC3339>=1.0,<2.0', - 'pyyaml>=3.0,<4.0', - 'theblues>=0.3.8,<1.0', - 'websockets>=4.0,<5.0', - 'paramiko', - ], + name=_name, + version_command=_version_command, + description=_description, + 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, - maintainer='', - maintainer_email='', - description=(''), - url='', - license='Apache 2', - entry_points={ - 'console_scripts': [ - ], - }, + entry_points={"console_scripts": []}, + setup_requires=["setuptools-version-command"], )