forked from gregmoille/pyLLE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·49 lines (46 loc) · 1.33 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
from setuptools import setup
from setuptools.command.install import install
from setuptools.command.build_py import build_py
import subprocess as sub
import sys
import os
class MyInstall(install):
def run(self):
install.run(self)
for ii in range(20):
print('-'*10)
if sys.platform == 'darwin':
julia = 'julia'
if sys.platform == 'linux2':
julia = 'julia'
if sys.platform == 'win32':
julia = os.path.expanduser('~') + '\\AppData\\Local\\Julia-1.1.1\\bin\\julia.exe'
sub.call([julia, 'InstallPkg.jl'])
setup(name='pyLLE',
version='3.0.1',
description='LLE Solver',
url='https://github.com/gregmoille/pyLLE',
author='Greg Moille',
author_email='[email protected]',
license='Open',
long_description='',
packages=['pyLLE'],
install_requires=[
'scipy',
'plotly',
'numpy',
'matplotlib',
'h5py',
'prettytable',
'matplotlib',
'ipdb',
],
package_data={'': ['*.jl']},
include_package_data=True,
zip_safe=False,
cmdclass={'install': MyInstall},
classifiers=(
"Programming Language :: Python :: 3",
"License :: OSI Approved",
"Operating System :: OS Independent",
),)