-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
33 lines (29 loc) · 1.22 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
# Standard imports
import glob, os
from setuptools import setup, find_packages
# Begin setup
setup_keywords = dict()
setup_keywords['name'] = 'tell_grid'
setup_keywords['description'] = 'Code to Generate Telluric Grids'
setup_keywords['author'] = 'Fred Davies'
setup_keywords['author_email'] = '[email protected]'
setup_keywords['license'] = 'BSD'
setup_keywords['url'] = 'https://github.com/pypeit/tell_grid'
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'] = ['scipy']
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)