-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
57 lines (50 loc) · 1.89 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# -*- coding: utf-8 -*-
# Copyright (c) 2020 by Felix M. Riese.
# All rights reserved.
import requests
import setuptools
with open("README.rst", "r") as f:
readme = f.read()
with open('CHANGELOG.rst', 'rb') as f:
changelog = f.read().decode('utf-8')
long_description = '\n\n'.join((readme, changelog))
# download IRUtils.py
ir_url = ("https://raw.githubusercontent.com/felixriese/"
"thermal-image-processing/master/tiprocessing/IRUtils.py")
ir_file = requests.get(ir_url)
open("hprocessing/IRUtils.py", "wb").write(ir_file.content)
setuptools.setup(
name="hprocessing",
version="1.0.0",
author="Felix M. Riese",
author_email="github@felixriese.de",
description="Hyperspectral Processing Scripts for the HydReSGeo Dataset",
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/felixriese/hyperspectral-processing",
license="BSD-3-Clause",
install_requires=["matplotlib",
"numpy",
"pandas",
"spectral",
"tqdm"],
extras_require={"docs": ["numpydoc", "sphinx", "sphinx-autobuild",
"sphinx_rtd_theme"]},
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
],
)