Blame view

setup.py 2.53 KB
Vincent Pelletier committed
1
# This file is part of caucase
Vincent Pelletier committed
2
# Copyright (C) 2017-2018  Nexedi
Vincent Pelletier committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#     Alain Takoudjou <alain.takoudjou@nexedi.com>
#     Vincent Pelletier <vincent@nexedi.com>
#
# caucase is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# caucase is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with caucase.  If not, see <http://www.gnu.org/licenses/>.
Alain Takoudjou committed
18 19 20 21

from setuptools import setup, find_packages
import glob
import os
Vincent Pelletier committed
22
import sys
Vincent Pelletier committed
23
import versioneer
Alain Takoudjou committed
24 25

long_description = open("README.rst").read() + "\n"
Alain Takoudjou committed
26
for f in sorted(glob.glob(os.path.join('caucase', 'README.*.rst'))):
Alain Takoudjou committed
27
  long_description += '\n' + open(f).read() + '\n'
Vincent Pelletier committed
28
  long_description += open("CHANGES.txt").read() + "\n"
Alain Takoudjou committed
29

Vincent Pelletier committed
30 31
setup(
  name='caucase',
Vincent Pelletier committed
32 33
  version=versioneer.get_version(),
  cmdclass=versioneer.get_cmdclass(),
Vincent Pelletier committed
34 35
  author='Vincent Pelletier',
  author_email='vincent@nexedi.com',
Vincent Pelletier committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
  description="Certificate Authority.",
  long_description=long_description,
  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 :: Security :: Cryptography',
    'Topic :: System :: Systems Administration :: Authentication/Directory',
    'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
  ],
  keywords='certificate authority',
  url='https://lab.nexedi.com/nexedi/caucase',
  license='GPLv3+',
  packages=find_packages(),
  install_requires=[
Vincent Pelletier committed
53 54
    'cryptography>=2.2.1', # everything x509 except...
    'pyOpenSSL>=18.0.0', # ...certificate chain validation
Vincent Pelletier committed
55
    'pem>=17.1.0', # Parse PEM files
Vincent Pelletier committed
56
    'PyJWT', # CORS token signature
Vincent Pelletier committed
57 58 59 60 61 62
  ],
  zip_safe=True,
  entry_points={
    'console_scripts': [
      'caucase = caucase.cli:main',
      'caucase-probe = caucase.cli:probe',
Vincent Pelletier committed
63
      'caucase-updater = caucase.cli:updater',
Vincent Pelletier committed
64 65 66
      'caucase-rerequest = caucase.cli:rerequest',
      'caucase-key-id = caucase.cli:key_id',
      'caucased = caucase.http:main',
Vincent Pelletier committed
67
      'caucased-manage = caucase.http:manage',
Vincent Pelletier committed
68 69 70
    ]
  },
  test_suite='caucase.test',
Vincent Pelletier committed
71
  use_2to3=sys.version_info >= (3, ),
Vincent Pelletier committed
72
)