forked from mess42/pyrate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
97 lines (87 loc) · 3.44 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Pyrate - Optical raytracing based on Python
Copyright (C) 2014-2020
by Moritz Esslinger [email protected]
and Johannes Hartung [email protected]
and Uwe Lippmann [email protected]
and Thomas Heinze [email protected]
and others
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
"""
from setuptools import setup
long_description="""\
Pyrate - Optical Raytracing with Python
-------------------------------------
Supports:
- 3d arrangement of optical elements
- sequential raytracing (non sequential planned)
- isotropic media
- anisotropic media
- grin media
- dispersion relations of different types
- interface to refractive-index.info material data base
- optimization with different optimizers
Works both with Python 2.7 and Python 3.5+.
"""
setup(
name="pyrateoptics",
packages=["pyrateoptics",
"tests",
"pyrateoptics/core",
"pyrateoptics/core/names",
"pyrateoptics/raytracer",
"pyrateoptics/raytracer/analysis",
"pyrateoptics/raytracer/io",
"pyrateoptics/sampling2d",
"pyrateoptics/optimize",
"pyrateoptics/raytracer/material",
"demos",
"freecad",
"freecad/PyrateWorkbench"],
package_data={"pyrateoptics/core/names": ["nouns.json",
"adjectives.json"],
"pyrateoptics/raytracer": ["config/raytracer.yaml"]
},
include_package_data=True,
install_requires=["numpy",
"scipy",
"matplotlib",
"sympy",
"pyyaml"],
version="0.4.0",
description="Optical raytracing with Python",
author="Moritz Esslinger",
author_email="[email protected]",
url="https://github.com/mess42/pyrate/",
keywords=["optics", "raytracing"],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Intended Audience :: Manufacturing",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Physics"
],
long_description=long_description
)