fix 1138 forcing cryptography version 2.5 or higher
[osm/RO.git] / NG-RO / setup.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3
4 # Copyright 2020 Telefonica S.A.
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15 # implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18
19 from setuptools import setup, find_packages
20
21 _name = "osm_ng_ro"
22 _readme = "osm-ng-ro is the New Generation Resource Orchestrator for OSM"
23 setup(
24 name=_name,
25 description='OSM Resource Orchestrator',
26 long_description=_readme,
27 version_command=('git describe --match v* --tags --long --dirty', 'pep440-git-full'),
28 author='ETSI OSM',
29 author_email='alfonso.tiernosepulveda@telefonica.com',
30 maintainer='Alfonso Tierno',
31 maintainer_email='alfonso.tiernosepulveda@telefonica.com',
32 url='https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary',
33 license='Apache 2.0',
34
35 packages=find_packages(exclude=["temp", "local"]),
36 include_package_data=True,
37 install_requires=[
38 'CherryPy==18.1.2',
39 'osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git#egg=osm-common',
40 'jsonschema',
41 'PyYAML',
42 'requests',
43 'cryptography', # >=2.5 installed right version with the debian post-install script
44 'osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git#egg=osm-im',
45 "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
46 ],
47 setup_requires=['setuptools-version-command'],
48 )