forked from PlasmaLib/PyLHD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (45 loc) · 1.73 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
46
47
48
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
from setuptools import setup
import re
import os
import sys
# load version form _version.py
VERSIONFILE = "PyLHD/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
# module
setup(name='PyLHD',
version=verstr,
author="Keisuke Fujii",
author_email="[email protected]",
description=("Python libraries for LHD experiment."),
license="BSD 3-clause",
keywords="LHD national-institute-for-fusion-science plasma-fusion machine-learning",
url="http://github.com/PlasmaLib/PyLHD",
include_package_data=True,
ext_modules=[],
packages=["PyLHD", 'PyLHD/io', 'PyLHD/instruments'],
package_dir={'PyLHD': 'PyLHD', 'PyLHD/io': 'PyLHD/io', 'PyLHD/instruments': 'PyLHD/instruments'},
py_modules=['PyLHD.__init__', 'PyLHD.igetfile', 'PyLHD.retrieve', 'PyLHD.retrieve_t'],
test_suite='testings',
#install_requires=['numpy>=1.9', 'scipy>=0.16', 'tensorflow>=0.9', 'GPflow>=0.3.0'],
install_requires="""
numpy>=1.10
scipy>=0.16
future
xarray>=0.9""",
classifiers=['License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Physics']
)