-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
35 lines (30 loc) · 1.04 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
from setuptools import setup, find_packages
from Cython.Build import cythonize
with open("README.md") as f:
readme = f.read()
with open("LICENSE") as f:
license = f.read()
extras = {
'dev': ['bump2version'],
'docs': open('docs/requirements.txt').read().splitlines(),
}
setup(
name="optbeam",
version="2.1.2",
description=("Simulation of reflection and refraction of polarized "
"opticial beams at plane and curved dielectric interfaces"),
long_description=readme,
long_description_content_type='text/markdown',
url="https://github.com/DanielKotik/Optical-beams-MEEP",
author="Daniel Kotik et al.",
author_email="kotik@physics.org",
license=license,
packages=find_packages(exclude=("scripts")),
ext_modules=cythonize(["optbeam/**/beams.py",
"optbeam/**/helpers.py"],
compiler_directives={'language_level': 3}),
zip_safe=False,
include_package_data=True,
install_requires=["scipy", "cython"],
extras_require=extras,
)