-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
45 lines (36 loc) · 1.06 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
#!/usr/bin/env python
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from setuptools import setup, find_packages
import sys
with open("README.rst", 'r') as f:
long_description = f.read()
min_version = (3, 8)
if sys.version_info < min_version:
error = """
EDIBLES does not support Python {0}.{1}.
Python {2}.{3} or above is required. Check your Python version like so:
python3 --version
This may be due to an out-of-date pip. Make sure you have pip >= 9.0.1.
Upgrade pip like so:
pip install --upgrade pip
""".format(*(sys.version_info[:2] + min_version))
sys.exit(error)
setup(
name='EDIBLES',
version='0.0.1',
description='Software for EDIBLES data analysis and plotting',
license="BSD",
long_description=long_description,
author='Jan Cami',
author_email='[email protected]',
packages=find_packages(), # same as name
install_requires=[
'numpy',
'matplotlib',
'pandas',
'astropy',
'scipy',
'lmfit',
'specutils'
], # external packages as dependencies
)