Skip to content

Commit b713865

Browse files
committed
cli: pip install cloudmonkey works
Patch makes cloudmonkey installable and redistributable using source dist from pypi under apache compliant license. Most visible issues have been solved and cloudmonkey should work well with CloudStack 4.0 and master, also until APIs do not change. To install now: pip install cloudmonkey or, if you have to: easy_install cloudmonkey Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent a94f6f1 commit b713865

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

tools/cli/cloudmonkey/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
# Use following rules for versioning:
19-
# <cli major version>.<cloudstack minor version>.<cloudstack major version>
20-
# Example: For CloudStack 4.1.x, CLI version should be 0.1.4
21-
__version__ = "0.0.4"
22-
2318
try:
2419
from cloudmonkey import *
2520
except ImportError, e:

tools/cli/setup.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@
2222
use_setuptools()
2323
from setuptools import setup, find_packages
2424

25-
from cloudmonkey import __version__
26-
27-
name = 'cloudmonkey'
28-
version = __version__
25+
# Use following rules for versioning:
26+
# <cli major version>.<cloudstack minor version>.<cloudstack major version>
27+
# Example: For CloudStack 4.1.x, CLI version should be 0.1.4
28+
version = "0.0.4"
29+
name = "cloudmonkey"
2930

3031
setup(
3132
name = name,
@@ -36,9 +37,12 @@
3637
maintainer_email = "bhaisaab@apache.org",
3738
url = "http://incubator.apache.org/cloudstack",
3839
description = "Command Line Interface for Apache CloudStack",
40+
long_description="cloudmonkey is a command line interface for Apache "
41+
"CloudStack powered by CloudStack Marvin testclient",
42+
platforms=("Any",),
3943
license = 'ASL 2.0',
4044
packages=find_packages(),
41-
install_requires=['clint'],
45+
install_requires=['clint>=0.3.0'],
4246
include_package_data = True,
4347
zip_safe = False,
4448
classifiers = [

0 commit comments

Comments
 (0)