| tierno | 5c01261 | 2018-04-19 16:01:59 +0200 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
| tierno | 87858ca | 2018-10-08 16:30:15 +0200 | [diff] [blame] | 2 | # -*- coding: utf-8 -*- |
| 3 | |
| 4 | # Copyright 2018 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 | |
| tierno | 5c01261 | 2018-04-19 16:01:59 +0200 | [diff] [blame] | 19 | |
| 20 | import os |
| 21 | from setuptools import setup |
| 22 | |
| 23 | here = os.path.abspath(os.path.dirname(__file__)) |
| 24 | _name = "osm_common" |
| tierno | 6aacb2e | 2018-10-01 15:28:59 +0200 | [diff] [blame] | 25 | # VERSION = "4.0.0rc2" |
| tierno | 5c01261 | 2018-04-19 16:01:59 +0200 | [diff] [blame] | 26 | README = open(os.path.join(here, 'README.rst')).read() |
| 27 | |
| 28 | setup( |
| tierno | f724940 | 2018-05-09 16:29:44 +0200 | [diff] [blame] | 29 | # python_requires='>=3.5', |
| tierno | 5c01261 | 2018-04-19 16:01:59 +0200 | [diff] [blame] | 30 | name=_name, |
| 31 | description='OSM common utilities', |
| 32 | long_description=README, |
| tierno | 6aacb2e | 2018-10-01 15:28:59 +0200 | [diff] [blame] | 33 | version_command=('git describe --tags --long --dirty', 'pep440-git-full'), |
| 34 | # version=VERSION, |
| tierno | 5c01261 | 2018-04-19 16:01:59 +0200 | [diff] [blame] | 35 | # python_requires='>3.5', |
| 36 | author='ETSI OSM', |
| 37 | author_email='alfonso.tiernosepulveda@telefonica.com', |
| 38 | maintainer='Alfonso Tierno', |
| 39 | maintainer_email='alfonso.tiernosepulveda@telefonica.com', |
| 40 | url='https://osm.etsi.org/gitweb/?p=osm/common.git;a=summary', |
| 41 | license='Apache 2.0', |
| tierno | f724940 | 2018-05-09 16:29:44 +0200 | [diff] [blame] | 42 | # setup_requires=['setuptools-version-command'], |
| tierno | 5c01261 | 2018-04-19 16:01:59 +0200 | [diff] [blame] | 43 | |
| 44 | packages=[_name], |
| 45 | include_package_data=True, |
| 46 | # scripts=['nbi.py'], |
| 47 | |
| 48 | install_requires=[ |
| 49 | 'pymongo', |
| 50 | 'aiokafka', |
| 51 | 'PyYAML', |
| tierno | 347bed3 | 2018-08-23 10:33:01 +0000 | [diff] [blame] | 52 | # 'pip', |
| tierno | 5c01261 | 2018-04-19 16:01:59 +0200 | [diff] [blame] | 53 | ], |
| 54 | ) |