forked from gbouvignies/ChemEx
/
setup.py
42 lines (33 loc) · 934 Bytes
/
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
from ez_setup import use_setuptools
use_setuptools()
import sys
if sys.version_info[0] == 2 and sys.version_info[1] < 7:
print "Sorry, Python < 2.7 is not supported"
exit()
from setuptools import setup, find_packages
with open('chemex/version.py') as f:
exec (f.read()) # read and set the variable __version__
description = ('Program to fit chemical exchange induced shift and '
'relaxation data.')
install_requires = [
'numpy',
'scipy',
'matplotlib>=1.3.1',
]
entry_points = {
'console_scripts': [
'chemex = chemex.__main__:main',
]
}
setup(
name='chemex',
version=__version__,
description=description,
long_description=open('README.md').read(),
license='BSD 3-Clause',
author='Guillaume Bouvignies',
author_email='gbouvignies@gmail.com',
packages=find_packages(),
install_requires=install_requires,
entry_points=entry_points
)