-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (35 loc) · 1.48 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
# Standard imports
import glob, os
from setuptools import setup, find_packages
# Begin setup
setup_keywords = dict()
setup_keywords['name'] = 'glider_gp'
setup_keywords['description'] = 'GP analysis on glider data'
setup_keywords['author'] = 'JXP'
setup_keywords['author_email'] = '[email protected]'
setup_keywords['license'] = 'BSD'
setup_keywords['url'] = 'https://github.com/profxj/glider_gp'
setup_keywords['version'] = '0.0.dev0'
# Use README.rst as long_description.
setup_keywords['long_description'] = ''
if os.path.exists('README.md'):
with open('README.md') as readme:
setup_keywords['long_description'] = readme.read()
setup_keywords['provides'] = [setup_keywords['name']]
setup_keywords['requires'] = ['Python (>3.8.0)']
setup_keywords['install_requires'] = [
'xarray', 'h5netcdf',
'torch', # This could be an issue..
'torchvision', 'seaborn', 'smart-open[s3]==5.1.0', 'pyarrow',
'scikit-learn', 'scikit-image', 'tqdm', 'astropy', 'astropy-healpix',
'healpy', 'cftime', 'bokeh', 'umap-learn', 'llvmlite', 'boto3',
'importlib-metadata']
setup_keywords['zip_safe'] = False
setup_keywords['use_2to3'] = False
setup_keywords['packages'] = find_packages()
setup_keywords['setup_requires'] = ['pytest-runner']
setup_keywords['tests_require'] = ['pytest']
if os.path.isdir('bin'):
setup_keywords['scripts'] = [fname for fname in glob.glob(os.path.join('bin', '*'))
if not os.path.basename(fname).endswith('.rst')]
setup(**setup_keywords)