setup.py 2.47 KB
Newer Older
1
# Copyright (C) 2018  Nexedi SA
Łukasz Nowak's avatar
Łukasz Nowak committed
2 3
#     Lukasz Nowak <luke@nexedi.com>
#
4 5 6
# This program is free software: you can Use, Study, Modify and Redistribute
# it under the terms of the GNU General Public License version 3, or (at your
# option) any later version, as published by the Free Software Foundation.
Łukasz Nowak's avatar
Łukasz Nowak committed
7
#
8 9 10 11 12
# You can also Link and Combine this program with other software covered by
# the terms of any of the Free Software licenses or any of the Open Source
# Initiative approved licenses and Convey the resulting work. Corresponding
# source of such a combination shall include the source code for all other
# software used.
Łukasz Nowak's avatar
Łukasz Nowak committed
13
#
14 15 16 17 18
# This program is distributed WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
Łukasz Nowak's avatar
Łukasz Nowak committed
19 20 21 22

from setuptools import setup, find_packages
import versioneer

23 24 25
tests_require = [
    'urllib3 >= 1.18',  # https://github.com/urllib3/urllib3/issues/258
    'ipaddress',
26
    'mock',
27 28
]

Łukasz Nowak's avatar
Łukasz Nowak committed
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
setup(
  name='kedifa',
  version=versioneer.get_version(),
  cmdclass=versioneer.get_cmdclass(),
  author='Lukasz Nowak',
  author_email='luke@nexedi.com',
  description="KEy DIstribution FAcility",
  classifiers=[
    'Environment :: Console',
    'Environment :: Web Environment',
    'Intended Audience :: System Administrators',
    'Intended Audience :: Information Technology',
    'License :: OSI Approved :: GNU General Public License v3 or '
    'later (GPLv3+)',
    'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
  ],
  keywords='key distribution ssl',
  url='https://lab.nexedi.com/luke/kedifa',
47
  license='GPLv3+ with wide exception for FOSS',
Łukasz Nowak's avatar
Łukasz Nowak committed
48 49
  packages=find_packages(),
  install_requires=[
50
    'cryptography',  # for working with certificates
51
    'requests',  # for getter and updater
52
    'zc.lockfile',  # for stateful updater
53
    'urllib3 >= 1.18',  # https://github.com/urllib3/urllib3/issues/258
54 55 56 57
    'caucase',  # provides utils for certificate management;
                # version requirement caucase >= 0.9.3 is dropped, as it
                # is not working in some cases, but fortunately KeDiFa is
                # used in places with pinned versions
58
  ],
59 60
  tests_require=tests_require,
  extras_require={'test': tests_require},
Łukasz Nowak's avatar
Łukasz Nowak committed
61
  zip_safe=True,
62 63 64 65
  entry_points={
    'console_scripts': [
      'kedifa = kedifa.cli:http',
      'kedifa-getter = kedifa.cli:getter',
66
      'kedifa-updater = kedifa.cli:updater',
67 68
    ]
  },
Łukasz Nowak's avatar
Łukasz Nowak committed
69
)