-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·53 lines (42 loc) · 1.17 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
from setuptools import setup, find_packages
import os
import sys
import megdc
def read(fname):
path = os.path.join(os.path.dirname(__file__), fname)
f = open(path)
return f.read()
install_requires = []
pyversion = sys.version_info[:2]
if pyversion < (2, 7) or (3, 0) <= pyversion <= (3, 1):
install_requires.append('argparse')
setup(
name='megdc',
version=megdc.__version__,
packages=find_packages(),
author='Megam Systems',
author_email='mvijaykanth@megam.io',
description='Deploy a hyper converged datacenter using OpenNebula, Megam, Ceph, Docker in your own infrastructure',
long_description=read('README.rst'),
license='ApacheV2',
keywords='megam data center',
url="https://github.com/megamsys/megdc",
install_requires=[
'setuptools',
] + install_requires,
tests_require=[
'pytest >=2.1.3',
'mock >=1.0b1',
],
entry_points={
'console_scripts': [
'megdc = megdc.cli:main',
],
'megdc.cli': [
'megam = megdc.megam:make',
'new = megdc.new:make',
'one = megdc.one:make',
'ceph = megdc.ceph:make',
],
},
)