Argument object handles part of the functionality
[kamaki] / setup.py
index 0e42cb7..6ef5d60 100755 (executable)
--- a/setup.py
+++ b/setup.py
 # interpreted as representing official policies, either expressed
 # or implied, of GRNET S.A.
 
+from setuptools import setup
+from sys import version_info
+
 import kamaki
 
-from setuptools import setup
 
+required = ['ansicolors==1.0.2', 'progress==1.0.1', 'requests==0.12.1', 'gevent']
+
+if version_info[0:2] < (2, 7):
+    required.extend(['argparse', 'ordereddict'])
 
 setup(
     name='kamaki',
@@ -45,9 +51,10 @@ setup(
     long_description=open('README.rst').read(),
     url='http://code.grnet.gr/projects/kamaki',
     license='BSD',
-    packages=['kamaki', 'kamaki.clients'],
+    packages=['kamaki', 'kamaki.cli', 'kamaki.clients', 'kamaki.clients.connection', 'kamaki.cli.commands'],
     include_package_data=True,
     entry_points={
-        'console_scripts': ['kamaki = kamaki.cli:main']
-    }
+        'console_scripts': ['kamaki = kamaki.cli:main', 'newmaki = kamaki.cli.argument:run_one_command']
+    },
+    install_requires=required
 )