-
Notifications
You must be signed in to change notification settings - Fork 306
/
setup.py
74 lines (63 loc) · 2.08 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
68
69
70
71
72
73
74
from setuptools import setup, find_packages
import os
import sys
import ceph_deploy
import pkg_resources
import setuptools
def read(fname):
path = os.path.join(os.path.dirname(__file__), fname)
f = open(path)
return f.read()
if (pkg_resources.parse_version(setuptools.__version__) >=
pkg_resources.parse_version('36.2.0')):
install_requires = [
"remoto >= 1.1.4",
"configparser;python_version<'3.0'",
"setuptools < 45.0.0;python_version<'3.0'",
"setuptools;python_version>='3.0'"]
else:
install_requires = [
"remoto >= 1.1.4",
"configparser",
"setuptools < 45.0.0"]
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=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',
'mgr = ceph_deploy.mgr:make',
'forgetkeys = ceph_deploy.forgetkeys:make',
'config = ceph_deploy.config:make',
'admin = ceph_deploy.admin:make',
'pkg = ceph_deploy.pkg:make',
'rgw = ceph_deploy.rgw:make',
'repo = ceph_deploy.repo:make',
],
},
)