-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
71 lines (63 loc) · 2.17 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# ======================================================================
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# ======================================================================
import setuptools
import pkg_resources
import sys
try:
if int(pkg_resources.get_distribution("pip").version.split('.')[0]) < 9:
print('Sorry, pip versions older than 9.0 are not supported, please upgrade pip with "pip install -U pip"')
sys.exit(-1)
except pkg_resources.DistributionNotFound:
pass
if tuple(sys.version_info)[:2] < (3, 10):
print('Sorry, Python versions older 3.10 are not supported, please install a later version of Python')
sys.exit(-1)
def readme() -> str:
try:
with open('README.md') as f:
return f.read()
except IOError:
return ''
setuptools.setup(
name='AWP',
version='v0.0.1-beta',
description='Automated Wildfire Prediction with AI',
author='Valentina Banner, Alicia Yuen, Maya Yan',
author_email='valentinavbanner@gmail.com, yuena945@gmail.com, yanm1@kgv.hk',
long_description=readme(),
long_description_content_type='text/markdown',
keywords='AI ML NeuralNetwork fire forest wildfire environment tensorflow tkinter',
url='https://github.com/realhuman101/AWP',
package_dir={'': 'src'},
packages=setuptools.find_packages('src'),
include_package_data=True,
python_requires='>=3.10.0, <=3.10.9',
license_files=('LICENSE', 'COPYING'),
license='GPL v3',
install_requires=[
"tensorflow==2.10.0",
"keras==2.10.0",
"numpy>=1.24.1",
"pandas>=1.5.2",
"requests>=2.28.1",
"matplotlib>=3.5.1",
"scikit-learn>=1.2.1",
"scipy>=1.10.0",
"pyglet>=2.0.dev18"
],
entry_points={
'gui_scripts': [
'AWP = gui:start'
]
}
)