forked from PSFCPlasmaTools/eqtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
26 lines (24 loc) · 920 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
try:
from numpy.distutils.core import setup, Extension
except ImportError:
import warnings
warnings.warn("numpy not installed, defaulting to setuptools.")
try:
from setuptools import setup, Extension
except ImportError:
warnings.warn("setuptools not installed, defaulting to distutils.")
from distutils.core import setup, Extension
tricub = Extension('eqtools._tricub',['eqtools/_tricub.pyf','eqtools/_tricub.c'])
setup(
name='eqtools',
version='1.3.1',
packages=['eqtools',],
install_requires=['scipy', 'numpy', 'matplotlib'],
author=['Mark Chilenski','Ian Faust','John Walk'],
author_email='[email protected]',
url='https://github.com/PSFCPlasmaTools/eqtools/',
description='Python tools for magnetic equilibria in tokamak plasmas',
long_description=open('README.md', 'r').read(),
ext_modules = [tricub,],
license='GPL'
)