forked from fortracc/pyfortracc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (34 loc) · 1.29 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
39
40
41
import os
try:
os.system("python -m ensurepip --upgrade")
os.system("python -m pip install --upgrade setuptools")
except:
pass
from setuptools import setup, find_packages
with open('requirements.txt') as f:
requirements = f.read().splitlines()
with open(os.path.join('pyfortracc', '_version.py')) as f:
version_line = next(filter(lambda line: line.startswith('__version__'), f))
__version__ = version_line.split('=')[-1]
setup(
name="pyfortracc",
version=__version__.strip().strip('"'),
author="Helvecio B. L. Neto, Alan J. P. Calheiros",
author_email="fortracc.project@inpe.br",
description="A Python package for track and forecasting configurable clusters.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/fortracc/pyfortracc",
packages=find_packages(),
install_requires=requirements,
license="LICENSE",
classifiers=[
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Hydrology",
]
)