diff options
author | xiaodong shang <shang.xiaodong@zte.com.cn> | 2017-07-26 07:39:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-07-26 07:39:18 +0000 |
commit | 9e382971de09ffbb4cf1b1f0f738cc2ee830b36d (patch) | |
tree | 81c709b2481abec986d6752876bcffc565922002 | |
parent | 15591ae4c8c1260c37631526b5e18ebe84770e36 (diff) | |
parent | c88bb062a593f22a2d1960572fccb8648b574444 (diff) |
Merge "Setup parser as a entire project"
-rw-r--r-- | setup.cfg | 30 | ||||
-rw-r--r-- | setup.py | 8 | ||||
-rw-r--r-- | tosca2heat/heat-translator/setup.cfg | 12 | ||||
-rw-r--r-- | tosca2heat/tosca-parser/setup.cfg | 15 |
4 files changed, 51 insertions, 14 deletions
@@ -1,5 +1,7 @@ [metadata] -name = parser +name = nfv-parser +version = 0.5 +url = https://wiki.opnfv.org/display/parser summary = OPNFV Parser Project author = OPNFV author-email = opnfv-tech-discuss@lists.opnfv.org @@ -16,3 +18,29 @@ classifier = Programming Language :: Python :: 3 Programming Language :: Python :: 3.5 +[files] +packages = + toscaparser + heat-translator + policy2tosca + verigraph + apigateway + +[entry_points] +console_scripts = + nfv-parser = apigateway.cmd.api:main + +[compile_catalog] +directory = nfv-parser/locale +domain = nfv-parser + +[update_catalog] +domain = nfv-parser +output_dir = nfv-parser/locale +input_file = nfv-parser/locale/nfv-parser.pot + +[extract_messages] +keywords = _ gettext ngettext l_ lazy_gettext +mapping_file = babel.cfg +output_file = nfv-parser/locale/nfv-parser.pot + @@ -1,4 +1,10 @@ import setuptools +try: + import multiprocessing # noqa +except ImportError: + pass + setuptools.setup( - ) + setup_requires=['pbr>=2.0.0'], + pbr=True) diff --git a/tosca2heat/heat-translator/setup.cfg b/tosca2heat/heat-translator/setup.cfg index ebea57b..489d56d 100644 --- a/tosca2heat/heat-translator/setup.cfg +++ b/tosca2heat/heat-translator/setup.cfg @@ -1,13 +1,15 @@ [metadata] name = heat-translator -summary = Tool to translate non-heat templates to Heat Orchestration Template. +version = 0.5 +url = https://wiki.opnfv.org/display/parser +summary = Tool to translate non-heat templates to Heat Orchestration Template in nfv. description-file = README.md -author = OpenStack -author-email = openstack-dev@lists.openstack.org -home-page = http://docs.openstack.org/developer/heat-translator/ +author = OPNFV +author-email = opnfv-dev@lists.opnfv.org +home-page = https://wiki.opnfv.org/display/parser classifier = - Environment :: OpenStack + Environment :: OPNFV Intended Audience :: Information Technology Intended Audience :: System Administrators License :: OSI Approved :: Apache Software License diff --git a/tosca2heat/tosca-parser/setup.cfg b/tosca2heat/tosca-parser/setup.cfg index 1196aa1..eb14810 100644 --- a/tosca2heat/tosca-parser/setup.cfg +++ b/tosca2heat/tosca-parser/setup.cfg @@ -1,14 +1,15 @@ [metadata] -name = tosca-parser -url = https://launchpad.net/tosca-parser -summary = Parser for TOSCA Simple Profile in YAML. +name = nfv-toscaparser +version = 0.5 +url = https://wiki.opnfv.org/display/parser +summary = Parser for nfv tosca and TOSCA Simple Profile in YAML. description-file = README.md -author = OpenStack -author-email = openstack-dev@lists.openstack.org -home-page = http://docs.openstack.org/developer/tosca-parser/ +author = OPNFV +author-email = opnfv-dev@lists.opnfv.org +home-page = https://wiki.opnfv.org/display/parser classifier = - Environment :: OpenStack + Environment :: OPNFV Intended Audience :: Information Technology Intended Audience :: System Administrators License :: OSI Approved :: Apache Software License |