2 # Copyright (C) 2015 SUSE LINUX GmbH
3 # Copyright (C) 2015 <contact@redhat.com>
5 # Author: Owen Synge <osynge@suse.com>
6 # Author: Loic Dachary <loic@dachary.org>
8 # This program is free software: you can redistribute it and/or modify
9 # it under the terms of the GNU Affero General Public License as
10 # published by the Free Software Foundation, either version 3 of the
11 # License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU Affero General Public License for more details.
18 # You should have received a copy of the GNU Affero General Public License
19 # along with this program. If not, see `<http://www.gnu.org/licenses/>`.
23 from setuptools import setup
24 from setuptools import find_packages
26 assert sys.version_info >= (2, 7), \
27 "Python version lower than 2.7 is not supported"
30 path = os.path.join(os.path.dirname(__file__), fname)
34 tests_require = read('test-requirements.txt').split()
37 name='ceph-detect-init',
39 packages=find_packages(),
41 author='Owen Synge, Loic Dachary',
42 author_email='osynge@suse.de, loic@dachary.org',
43 description='display the normalized name of the init system',
44 long_description=read('README.rst'),
47 url="https://git.ceph.com/?p=ceph.git;a=summary",
49 install_requires=['setuptools'],
50 tests_require=tests_require,
53 'Environment :: Console',
54 'Intended Audience :: Information Technology',
55 'Intended Audience :: System Administrators',
56 'Operating System :: POSIX :: Linux',
57 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
58 'Programming Language :: Python',
59 'Programming Language :: Python :: 2.7',
60 'Programming Language :: Python :: 3',
67 'ceph-detect-init = ceph_detect_init.main:run',