Skip to content
This repository
Browse code

Add setup.py

  • Loading branch information...
commit 496c9ef83cafade95f5245eb0c20493080ece5fc 1 parent 185c13b
Thomas S Hatch authored May 01, 2012

Showing 1 changed file with 49 additions and 0 deletions. Show diff stats Hide diff stats

  1. 49  setup.py
49  setup.py
... ...
@@ -0,0 +1,49 @@
  1
+#!/usr/bin/env python
  2
+'''
  3
+The setup script for salt
  4
+'''
  5
+
  6
+import os
  7
+from distutils.core import setup
  8
+
  9
+if os.environ.get('VIRTUAL_ENV'):
  10
+    from setuptools import setup
  11
+
  12
+exec(compile(
  13
+    open("saltcloud/version.py").read(),"saltcloud/version.py",'exec')
  14
+    )
  15
+
  16
+NAME = 'saltcloud'
  17
+VER = __version__
  18
+DESC = ('Generic cloud provisioning system with build in functions ')
  19
+
  20
+
  21
+setup(
  22
+      name=NAME,
  23
+      version=VER,
  24
+      description=DESC,
  25
+      author='Thomas S Hatch',
  26
+      author_email='thatch45@gmail.com',
  27
+      url='http://saltstack.org',
  28
+      classifiers=[
  29
+          'Programming Language :: Python',
  30
+          'Programming Language :: Cython',
  31
+          'Programming Language :: Python :: 2.6',
  32
+          'Programming Language :: Python :: 2.7',
  33
+          'Development Status :: 2 - Pre-Alpha'
  34
+          'Environment :: Console',
  35
+          'Intended Audience :: Developers',
  36
+          'Intended Audience :: Information Technology',
  37
+          'Intended Audience :: System Administrators',
  38
+          'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
  39
+          'Operating System :: POSIX :: Linux',
  40
+          'Topic :: System :: Distributed Computing',
  41
+          ],
  42
+      packages=['saltcloud',
  43
+                'saltcloud/utils',
  44
+                ],
  45
+      package_data = {
  46
+          'saltcloud': ['deploy/*'],
  47
+      },
  48
+      scripts=['scripts/salt-cloud'],
  49
+     )

0 notes on commit 496c9ef

Please sign in to comment.
Something went wrong with that request. Please try again.