-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
56 lines (53 loc) · 2.35 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
from setuptools import find_packages, setup
import os
import glob as gb
# get requirements for installation
lib_folder = os.path.dirname(os.path.realpath(__file__))
requirement_path = lib_folder + '/requirements.txt'
install_requires = []
if os.path.isfile(requirement_path):
with open(requirement_path) as f:
install_requires = f.read().splitlines()
print("install requires:")
print(install_requires)
# read the contents of your README file
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
setup(
name='AniMAIRE',
packages=find_packages(exclude='pytests'),
package_data={"AniMAIRE":[
"anisotropic_MAIRE_engine/data/*.csv"
]},
version='1.1.10',
description='Python library for running the anisotropic version of MAIRE+',
long_description=long_description,
long_description_content_type='text/markdown',
author='Space Environment and Protection Group, University of Surrey',
license='CC By-NC-SA 4.0',
url='https://github.com/ssc-maire/AniMAIRE-public',
keywords='anisotropic MAIRE+ atmospheric ionizing radiation dose rates cosmic rays ground level enhancements GLEs protons alpha particles neutrons effective ambient equivalent aircraft aviation Earth solar system sun space magnetic field',
install_requires=['numpy>=1.21.6',
'wheel>=0.41.2',
'pandarallel>=1.6.3',
'pandas>=1.3.5',
'ParticleRigidityCalculationTools>=1.5.4',
'scipy>=1.7.3',
'setuptools>=45.2.0',
'spacepy>=0.3.0',
'tqdm>=4.65.0',
'plotly>=5.9.0',
'numba>=0.57.1',
'metpy>=1.5.1',
'CosRayModifiedISO >= 1.2.3',
'AsympDirsCalculator >= 1.0.8',
'seaborn >= 0.13.2',
'geopandas >= 0.11.1',
'joblib >= 1.2.0',
'spaceweather>=0.2.4',
'atmosphericRadiationDoseAndFlux >= 1.0.3'],
#install_requires,
setup_requires=['pytest-runner','wheel'],
tests_require=['pytest'],
)