-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.py
More file actions
63 lines (60 loc) · 2.5 KB
/
Copy pathsetup.py
File metadata and controls
63 lines (60 loc) · 2.5 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
"""
Setup file for hyde.
Use setup.cfg to configure your project.
This file was generated with PyScaffold 4.0.1.
PyScaffold helps you to put up the scaffold of your new Python project.
Learn more under: https://pyscaffold.org/
"""
import setuptools
if __name__ == "__main__":
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
try:
# setup(use_scm_version={"version_scheme": "no-guess-dev"})
setuptools.setup(
name="hyde-images",
description="Hyperspectral Denoising algorithm toolbox in Python for GPUs",
version="0.4.3",
author="Helmholtz-AI-Energy",
author_email="consultant-helmholtz.ai@kit.edu",
license="BSD-3-Clause",
long_description=long_description,
url="https://github.com/Helmholtz-AI-Energy/HyDe",
long_description_content_type="text/markdown",
project_urls={
"Source": "https://github.com/Helmholtz-AI-Energy/HyDe",
"Changelog": "https://github.com/Helmholtz-AI-Energy/HyDe/blob/main/CHANGELOG.md",
},
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.6",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src", exclude=["tests", "pretrained-models"]),
python_requires=">=3.6",
install_requires=[
"numpy>=1.13.0",
"torch>=1.8.0",
# "pytorch-wavelets>=1.3.0",
"PyWavelets>=1.1.1",
"bm3d",
# NOTE: need to have openBlas for bm3d
"kornia",
],
)
except: # noqa
print(
"\n\nAn error occurred while building the project, "
"please ensure you have the most updated version of setuptools, "
"setuptools_scm and wheel with:\n"
" pip install -U setuptools setuptools_scm wheel\n\n"
)
raise