forked from Devnex/PyNLO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·49 lines (45 loc) · 1.3 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
49
#!/usr/bin/env python
#from distutils.core import setup
# By popular demand...
from setuptools import setup
import os
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if not on_rtd:
import numpy as np
install_requires=[
"jsonpickle>=0.9.2",
"jsonschema>=2.5.1",
"mock>=1.0.1",
"nose>=1.3.7",
"nose-cov>=1.6",
"nose-fixes>=1.3",
"numpy>=1.9.2",
"scipy>=0.15.1"
]
else:
np = None
install_requires=[]
setup(name='pyNLO',
version='0.1.1',
description='Python nonlinear optics',
author='Gabe Ycas',
author_email='[email protected]',
url='https://github.com/pyNLO/PyNLO',
install_requires=install_requires,
packages=['pynlo',
'pynlo.devices',
'pynlo.interactions',
'pynlo.interactions.ThreeWaveMixing',
'pynlo.interactions.FourWaveMixing',
'pynlo.light',
'pynlo.media',
'pynlo.media.crystals',
'pynlo.media.fibers',
'pynlo.util',
'pynlo.util.ode_solve'],
package_dir = {'': 'src'},
package_data = {'pynlo': ['media/fibers/*.txt']},
extras_require = {
'DFG': ["pyfftw"],
},
)