forked from openclimatefix/Satip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (31 loc) · 1.2 KB
/
setup.py
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
""" Satip
https://badge.fury.io/py/satip
Satip is a library for SATellite Image Processing (=SATIP), and provides all the
functionality necessary for retrieving, and storing EUMETSAT data.
For more detailed information, please check the accompanying README.md.
"""
from pathlib import Path
from setuptools import find_packages, setup
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
install_requires = (this_directory / "requirements.txt").read_text().splitlines()
# get version
with open("satip/__init__.py") as f:
for line in f:
if line.startswith("__version__"):
_, _, version = line.replace("'", "").split()
version = version.replace('"', "")
setup(
name="satip",
version=version,
license="MIT",
description="""Satip provides the functionality necessary for
retrieving, and storing EUMETSAT data""",
author="Jacob Bieker, Ayrton Bourn, Jack Kelly",
author_email="info@openclimatefix.org",
company="Open Climate Fix Ltd",
install_requires=install_requires,
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
)