forked from ceph/ceph-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (52 loc) · 1.69 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
from setuptools import setup, find_packages
import os
import sys
import ceph_deploy
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='ceph-deploy',
version=ceph_deploy.__version__,
packages=find_packages(),
author='Inktank',
author_email='[email protected]',
description='Deploy Ceph with minimal infrastructure',
long_description=read('README.rst'),
license='MIT',
keywords='ceph deploy',
url="https://github.com/ceph/ceph-deploy",
install_requires=[
'setuptools',
'pushy >=0.5.2',
] + install_requires,
tests_require=[
'pytest >=2.1.3',
'mock >=1.0b1',
],
entry_points={
'console_scripts': [
'ceph-deploy = ceph_deploy.cli:main',
],
'ceph_deploy.cli': [
'new = ceph_deploy.new:make',
'install = ceph_deploy.install:make',
'uninstall = ceph_deploy.install:make_uninstall',
'purge = ceph_deploy.install:make_purge',
'purgedata = ceph_deploy.install:make_purge_data',
'mon = ceph_deploy.mon:make',
'gatherkeys = ceph_deploy.gatherkeys:make',
'osd = ceph_deploy.osd:make',
'disk = ceph_deploy.osd:make_disk',
'mds = ceph_deploy.mds:make',
'forgetkeys = ceph_deploy.forgetkeys:make',
'config = ceph_deploy.config:make',
'admin = ceph_deploy.admin:make',
],
},
)