setup.py 2.61 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
long_description = open("README.rst").read() + "\n"
long_description += open("CHANGES.rst").read() + "\n"

Łukasz Nowak's avatar
Łukasz Nowak committed
32 33 34 35 36 37 38
setup(
  name='kedifa',
  version=versioneer.get_version(),
  cmdclass=versioneer.get_cmdclass(),
  author='Lukasz Nowak',
  author_email='luke@nexedi.com',
  description="KEy DIstribution FAcility",
Łukasz Nowak's avatar
Łukasz Nowak committed
39
  long_description=long_description,
Łukasz Nowak's avatar
Łukasz Nowak committed
40 41 42 43 44 45 46 47 48 49
  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',
Łukasz Nowak's avatar
Łukasz Nowak committed
50
  url='https://lab.nexedi.com/nexedi/kedifa',
51
  license='GPLv3+ with wide exception for FOSS',
Łukasz Nowak's avatar
Łukasz Nowak committed
52 53
  packages=find_packages(),
  install_requires=[
54
    'cryptography',  # for working with certificates
55
    'requests',  # for getter and updater
56
    'zc.lockfile',  # for stateful updater
57
    'urllib3 >= 1.18',  # https://github.com/urllib3/urllib3/issues/258
58 59 60 61
    '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
62
  ],
63 64
  tests_require=tests_require,
  extras_require={'test': tests_require},
Łukasz Nowak's avatar
Łukasz Nowak committed
65
  zip_safe=True,
66 67 68 69
  entry_points={
    'console_scripts': [
      'kedifa = kedifa.cli:http',
      'kedifa-getter = kedifa.cli:getter',
70
      'kedifa-updater = kedifa.cli:updater',
71 72
    ]
  },
Łukasz Nowak's avatar
Łukasz Nowak committed
73
)