99# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and
1010# limitations under the License.
1111
12- import os
12+ import os , sys
1313from setuptools import setup , find_packages
1414
1515# Utility function to read the README file.
@@ -20,7 +20,13 @@ def read(fname):
2020 return open (os .path .join (os .path .dirname (__file__ ), fname )).read ()
2121
2222console_scripts = ['cfncluster = cfncluster.cli:main' ]
23- version = "0.0.9"
23+ version = "0.0.10"
24+ requires = ['boto' , 'botocore' ]
25+
26+ if sys .version_info [:2 ] == (2 , 6 ):
27+ # For python2.6 we have to require argparse since it
28+ # was not in stdlib until 2.7.
29+ requires .append ('argparse>=1.1' )
2430
2531setup (
2632 name = "cfncluster" ,
@@ -31,7 +37,7 @@ def read(fname):
3137 url = ("https://github.com/awslabs/cfncluster" ),
3238 license = "Amazon Software License" ,
3339 packages = find_packages (),
34- install_requires = [ 'boto' , 'argparse' ] ,
40+ install_requires = requires ,
3541 entry_points = dict (console_scripts = console_scripts ),
3642 include_package_data = True ,
3743 zip_safe = False ,
0 commit comments