Build if you have python 2.7 installed

This commit is contained in:
Prasanna Santhanam 2012-05-14 15:57:29 +05:30
parent acd55bac90
commit 0f98f5fe52

View File

@ -9,8 +9,8 @@ from sys import version
if version < "2.7": if version < "2.7":
print "Marvin needs at least python 2.7, found : \n%s"%version print "Marvin needs at least python 2.7, found : \n%s"%version
raise raise
setup(name="Marvin", setup(name="Marvin",
version="0.1.0", version="0.1.0",
description="Marvin - Python client for testing cloudstack", description="Marvin - Python client for testing cloudstack",
author="Edison Su", author="Edison Su",
@ -23,8 +23,8 @@ if version < "2.7":
packages=["marvin", "marvin.cloudstackAPI", "marvin.sandbox", "marvin.pymysql", "marvin.pymysql.constants", "marvin.pymysql.tests"], packages=["marvin", "marvin.cloudstackAPI", "marvin.sandbox", "marvin.pymysql", "marvin.pymysql.constants", "marvin.pymysql.tests"],
license="LICENSE.txt", license="LICENSE.txt",
install_requires=[ install_requires=[
"Python>=2.7", "Python>=2.7",
"paramiko", "paramiko",
"nose" "nose"
], ],
) )