-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
37 lines (34 loc) · 1.65 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
from setuptools import find_packages, setup
from pathlib import Path
import os
# 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()
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
setup(
name='CosRayModifiedISO',
packages=find_packages(),
package_data={"":["CosRayModifiedISO/neutronMonitorData/*.dat","CosRayModifiedISO/neutronMonitorData/*.pkl"]},
include_package_data=True,
version='1.2.8',
url="https://github.com/ssc-maire/CosRayModifiedISO",
author='Space Environment and Protection Group, University of Surrey',
keywords='space physics galactic cosmic ray',
license='CC BY-NC-SA 4.0',
install_requires=['importlib_resources>=5.10.0',
'numba>=0.56.4',
'numpy>=1.21.6',
'pandas>=1.3.5',
'setuptools>=45.2.0'], #install_requires,
setup_requires=['pytest-runner'],
tests_require=['pytest'],
test_suite='tests',
description='A Python library for acquiring galactic cosmic ray spectra at Earth from the ISO model as modified by DLR. All the details and equations about this model can be found in Matthiae et al., A ready-to-use galactic cosmic ray model, Advances in Space Research 51.3 (2013): 329-338, https://doi.org/10.1016/j.asr.2012.09.022 .',
long_description=long_description,
long_description_content_type='text/markdown',
)