-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
43 lines (37 loc) · 1.19 KB
/
setup.py
File metadata and controls
43 lines (37 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright (c) 2021 SMHI, Swedish Meteorological and Hydrological Institute.
# License: MIT License (see LICENSE or http://opensource.org/licenses/mit).
"""
Created on 2021-02-18 13:52
@author: johannes
"""
import os
import setuptools
requirements = []
with open('requirements.txt', 'r') as fh:
for line in fh:
requirements.append(line.strip())
with open('README.rst', 'r') as file:
README = file.read()
NAME = 'microservice_code_translation'
setuptools.setup(
name=NAME,
version="0.1.0",
author="SMHI - NODC",
author_email="shark@smhi.se",
description="Get translation of a given code",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/shark-microservices/microservice_code_translation",
packages=setuptools.find_packages(),
package_data={'microservice_code_translation': [
os.path.join('translation', 'resources', '*.xlsx'),
os.path.join('*.yaml'),
]},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.7',
install_requires=requirements,
)