diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2016-11-03 08:11:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-11-03 08:11:11 +0000 |
commit | 7f81ad0a2191eaf51af0282dd01e90839aaf400f (patch) | |
tree | 4416ed321aa524584a4dcd6fcc79a4c35d759b58 | |
parent | 403e8ead12863163573f45c1be07a48c05061f45 (diff) | |
parent | 04b1e4764cf5b2537d4649530dea78899bba3de3 (diff) |
Merge "Create setuptool configuration for qtip-cli"
-rw-r--r-- | cli/entry.py (renamed from cli/cli_entry.py) | 2 | ||||
-rw-r--r-- | setup.py | 22 |
2 files changed, 17 insertions, 7 deletions
diff --git a/cli/cli_entry.py b/cli/entry.py index f6838f0c..0f27be06 100644 --- a/cli/cli_entry.py +++ b/cli/entry.py @@ -15,7 +15,7 @@ CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help']) @click.group(context_settings=CONTEXT_SETTINGS) -@click.version_option(version='opnfv qtip.0.1 ') +@click.version_option(version='0.1.dev0') def cli(): pass @@ -1,10 +1,20 @@ #!/usr/bin/env python -from distutils.core import setup +from setuptools import setup -setup(name='qtip', - py_modules=['qtip'], - version='1.0', - author='opnfv', - packages=['func', 'scripts.ref_results', 'utils.report']) +setup( + name='qtip-cli', + version='0.1.dev0', + description='Platform Performance Benchmarking for OPNFV', + author='OPNFV', + author_email='zhang.yujunz@zte.com.cn', + install_requires=['click'], + packages=['cli'], + entry_points={ + 'console_scripts': ['qtip=cli.entry:cli'] + }, + license='Apache-2.0', + keywords="performance benchmark opnfv", + url="https://wiki.opnfv.org/display/qtip" +) |