-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
32 lines (31 loc) · 1.4 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
# setup.py
from setuptools import setup, find_packages, Extension
from Cython.Build import cythonize
import numpy as np
setup(name='nanooptics',
version='0.15',
description='Python module for data evaluation and presentation of numerous quantum optical experiments.',
author='Bernd Sontheimer',
author_email='bernd.sontheimer@physik.hu-berlin.de',
license='GPLv3',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers :: Physicists',
'Topic :: Physics :: Optics :: Quantum',
'License :: OSI Approved :: GPLv3',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
python_requires='>=3',
install_requires=['cython', 'numpy', 'lmfit'],
packages=find_packages(exclude=['examples*']),
include_dirs=[np.get_include()],
ext_modules=cythonize([Extension('*', ['nanooptics/*.pyx'],
libraries=["m"],
extra_compile_args=["-O3", "-ffast-math", "-march=native", "-fopenmp"],
extra_link_args=['-fopenmp'])])
)