-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
86 lines (81 loc) · 2.55 KB
/
Copy pathsetup.py
File metadata and controls
86 lines (81 loc) · 2.55 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
"""
Setup script for hsdar_py package
Single-line installation:
pip install .
For PyPI upload:
pip install build && python -m build && twine upload dist/*
"""
from setuptools import setup, find_packages
from pathlib import Path
# Read the README for long description
this_directory = Path(__file__).parent
long_description = ""
readme_path = this_directory / "README.md"
if readme_path.exists():
long_description = readme_path.read_text(encoding="utf-8")
setup(
name="hsdar-py",
version="1.0.0",
author="Abdallah Abdelmajeed",
author_email="abdallah.abdelmajeed@up.poznan.pl",
description="Modern Hyperspectral Data Analysis for Vegetation Stress - Python Implementation",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/abdallah-abdelmajeed/hsdar-py",
package_dir={"": "src"},
packages=find_packages(where="src"),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Graphics",
"Topic :: Scientific/Engineering :: Image Processing",
"Typing :: Typed",
],
python_requires=">=3.9",
install_requires=[
"numpy>=1.20.0,<2.5.0",
"scipy>=1.7.0",
"pandas>=1.3.0",
"xarray>=0.18.0",
"rioxarray>=0.7.0",
"netCDF4>=1.5.0",
"h5py>=3.0.0",
"rasterio>=1.2.0",
"geopandas>=0.13.0",
"scikit-image>=0.18.0",
"statsmodels>=0.13.0",
],
extras_require={
"dev": [
"pytest>=6.0",
"pytest-cov>=2.0",
"black>=21.0",
"flake8>=3.9",
"mypy>=0.900",
"sphinx>=4.0",
"sphinx-rtd-theme>=1.0",
],
"plotting": [
"matplotlib>=3.4.0",
"seaborn>=0.11.0",
"plotly>=5.0.0",
],
},
entry_points={
"console_scripts": [
"hsdar-sim=hsdar_py.cli:main",
],
},
include_package_data=True,
zip_safe=False,
)