Permalink
Browse files

adding setup.py

  • Loading branch information...
1 parent a711be1 commit 7a3914204a566c71bef4f5c2f42d7a7465eac551 @jasonhancock committed Feb 10, 2012
Showing with 40 additions and 0 deletions.
  1. +40 −0 setup.py
View
@@ -0,0 +1,40 @@
+#!/usr/bin/python
+
+# Copyright (c) 2011 Jason Hancock <jsnbyh@gmail.com>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish, dis-
+# tribute, sublicense, and/or sell copies of the Software, and to permit
+# persons to whom the Software is furnished to do so, subject to the fol-
+# lowing conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
+# ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
+# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+# IN THE SOFTWARE.
+
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
+
+setup(
+ name = 'CloudStack',
+ version = '0.1',
+ description = "CloudStack API v2.2 Client",
+ long_description = "Python interface CloudStack v2.2 API",
+ author = "Jason Hancock",
+ author_email = "jsnbyh@gmail.com",
+ url = "https://github.com/jasonhancock/cloudstack-python-client",
+ packages = [ 'CloudStack' ],
+ license = 'MIT',
+ platforms = 'Posix; MacOS X; Windows',
+)

0 comments on commit 7a39142

Please sign in to comment.