]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # |
2 | # Copyright (C) 2015 <contact@redhat.com> | |
3 | # | |
4 | # Author: Loic Dachary <loic@dachary.org> | |
5 | # | |
6 | # This program is free software; you can redistribute it and/or modify | |
7 | # it under the terms of the GNU Library Public License as published by | |
8 | # the Free Software Foundation; either version 2, or (at your option) | |
9 | # any later version. | |
10 | # | |
11 | # This program is distributed in the hope that it will be useful, | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | # GNU Library Public License for more details. | |
15 | # | |
16 | import os | |
17 | import sys | |
18 | from setuptools import setup | |
19 | from setuptools import find_packages | |
20 | ||
21 | assert sys.version_info >= (2, 7), \ | |
22 | "Python version lower than 2.7 is not supported" | |
23 | ||
24 | ||
25 | def read(fname): | |
26 | path = os.path.join(os.path.dirname(__file__), fname) | |
27 | f = open(path) | |
28 | return f.read() | |
29 | ||
30 | tests_require = read('test-requirements.txt').split() | |
31 | ||
32 | setup( | |
33 | name='ceph-disk', | |
34 | version='1.0.0', | |
35 | packages=find_packages(), | |
36 | ||
37 | author='Loic Dachary', | |
38 | author_email='loic@dachary.org', | |
39 | description='prepare storage for a Ceph OSD', | |
40 | long_description=read('README.rst'), | |
41 | license='LGPLv2+', | |
42 | keywords='ceph', | |
43 | url="https://git.ceph.com/?p=ceph.git;a=summary", | |
44 | ||
45 | install_requires=['setuptools'], | |
46 | tests_require=tests_require, | |
47 | ||
48 | classifiers=[ | |
49 | 'Environment :: Console', | |
50 | 'Intended Audience :: Information Technology', | |
51 | 'Intended Audience :: System Administrators', | |
52 | 'Operating System :: POSIX :: Linux', | |
53 | 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)', | |
54 | 'Programming Language :: Python', | |
55 | 'Programming Language :: Python :: 2.7', | |
56 | 'Programming Language :: Python :: 3', | |
57 | 'Topic :: Utilities', | |
58 | ], | |
59 | ||
60 | entry_points={ | |
61 | ||
62 | 'console_scripts': [ | |
63 | 'ceph-disk = ceph_disk.main:run', | |
64 | ], | |
65 | ||
66 | }, | |
67 | ) |