-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
executable file
·67 lines (53 loc) · 1.7 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/env python
from setuptools import setup
exec(open("src/cloudsigma/version.py").read())
with open('requirements.txt') as f:
required = f.read().splitlines()
setup(
name='cloudsigma',
version=__version__,
packages=[
'cloudsigma',
],
package_dir={
'': 'src'
},
package_data={
'templates': [
'request_template',
'response_template',
]
},
author='CloudSigma AG',
author_email='dev-support@cloudsigma.com',
url='https://github.com/cloudsigma/pycloudsigma',
install_requires=required,
description="CloudSigma's official python library.",
keywords=[
'cloud',
'cloudsigma',
'api',
'cloud computing'
],
classifiers=[
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: System Administrators",
"Intended Audience :: Developers",
],
long_description="""\
====================================
CloudSigma's official python library
====================================
pycloudsigma allows you to easily manage your entire infrastructure from within Python.
Creating a server is as simple as:
::
import cloudsigma
server = cloudsigma.resource.Server()
test_server = { 'name': 'My Test Server', 'cpu': 1000, 'mem': 512 * 1024 ** 2, 'vnc_password': 'test_server' }
my_test_server = server.create(test_server)
For more examples, please visit pycloudsigma_.
For more detailed information about CloudSigma, please visit the `API documentation <https://zrh.cloudsigma.com/docs/>`_.
.. _pycloudsigma: https://github.com/cloudsigma/pycloudsigma/blob/master/README.md
"""
)