-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsetup.py
26 lines (24 loc) · 1009 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
from Cython.Distutils import build_ext
from distutils.core import setup, Extension
import numpy
from Cython.Build import cythonize
cythonize("ana_cont/pade.pyx")
setup(name='ana_cont',
version='1.1.2',
description='Analytic continuation package',
author='Josef Kaufmann',
author_email='josefkaufma@gmail.com',
url='https://github.com/josefkaufmann/ana_cont',
packages=['ana_cont', 'gui'],
package_dir={'ana_cont': 'ana_cont/', 'gui': 'gui/'},
cmdclass={'build_ext': build_ext},
ext_modules=[Extension('ana_cont.pade',
sources=['ana_cont/pade.c'],
libraries=['m'],
include_dirs=[numpy.get_include()])],
include_package_data=True,
zip_safe=False,
setup_requires=['Cython'],
install_requires=['numpy', 'scipy', 'Cython', 'h5py', 'matplotlib', 'PyQt5'],
scripts=['scripts/maxent.py', 'scripts/pade.py', 'scripts/maxent_bosonic.py']
)