syned 1.0.48__tar.gz → 1.0.49__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {syned-1.0.48 → syned-1.0.49}/LICENSE +20 -20
- {syned-1.0.48 → syned-1.0.49}/MANIFEST.in +5 -5
- {syned-1.0.48/syned.egg-info → syned-1.0.49}/PKG-INFO +88 -87
- {syned-1.0.48 → syned-1.0.49}/README.rst +46 -46
- {syned-1.0.48 → syned-1.0.49}/setup.cfg +4 -4
- {syned-1.0.48 → syned-1.0.49}/setup.py +100 -99
- {syned-1.0.48/syned/beamline/optical_elements/crystals → syned-1.0.49/syned/beamline}/__init__.py +1 -1
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/beamline.py +155 -155
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/beamline_element.py +76 -76
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/element_coordinates.py +199 -199
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_element.py +47 -47
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_element_with_surface_shape.py +126 -126
- {syned-1.0.48/syned/beamline/optical_elements/gratings → syned-1.0.49/syned/beamline/optical_elements}/__init__.py +1 -1
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/absorbers/absorber.py +21 -21
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/absorbers/beam_stopper.py +63 -63
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/absorbers/filter.py +61 -61
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/absorbers/holed_filter.py +67 -67
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/absorbers/slit.py +80 -80
- {syned-1.0.48/syned/beamline → syned-1.0.49/syned/beamline/optical_elements/crystals}/__init__.py +1 -1
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/crystals/crystal.py +70 -70
- {syned-1.0.48/syned/beamline/optical_elements → syned-1.0.49/syned/beamline/optical_elements/gratings}/__init__.py +1 -1
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/gratings/grating.py +279 -279
- syned-1.0.49/syned/beamline/optical_elements/ideal_elements/__init__.py +1 -0
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/ideal_elements/ideal_element.py +15 -15
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/ideal_elements/ideal_fzp.py +183 -183
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/ideal_elements/ideal_lens.py +54 -54
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/ideal_elements/screen.py +15 -15
- syned-1.0.49/syned/beamline/optical_elements/mirrors/__init__.py +1 -0
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/mirrors/mirror.py +39 -39
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/multilayers/__init__.py +46 -46
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/multilayers/multilayer.py +45 -45
- syned-1.0.49/syned/beamline/optical_elements/refractors/__init__.py +1 -0
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/refractors/crl.py +79 -79
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/refractors/interface.py +60 -60
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/refractors/lens.py +105 -105
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/shape.py +2884 -2803
- syned-1.0.49/syned/storage_ring/__init__.py +1 -0
- {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/electron_beam.py +804 -804
- {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/empty_light_source.py +40 -40
- {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/light_source.py +90 -90
- {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/magnetic_structure.py +8 -8
- syned-1.0.49/syned/storage_ring/magnetic_structures/__init__.py +1 -0
- {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/magnetic_structures/bending_magnet.py +329 -329
- {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/magnetic_structures/insertion_device.py +169 -169
- {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/magnetic_structures/undulator.py +413 -413
- {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/magnetic_structures/wiggler.py +27 -27
- {syned-1.0.48 → syned-1.0.49}/syned/syned_object.py +273 -275
- {syned-1.0.48 → syned-1.0.49}/syned/util/__init__.py +21 -21
- {syned-1.0.48 → syned-1.0.49}/syned/util/json_tools.py +196 -198
- {syned-1.0.48 → syned-1.0.49}/syned/widget/widget_decorator.py +66 -66
- {syned-1.0.48 → syned-1.0.49/syned.egg-info}/PKG-INFO +88 -87
- {syned-1.0.48 → syned-1.0.49}/syned.egg-info/SOURCES.txt +0 -2
- {syned-1.0.48 → syned-1.0.49}/syned.egg-info/not-zip-safe +1 -1
- {syned-1.0.48 → syned-1.0.49}/syned.egg-info/requires.txt +1 -0
- syned-1.0.48/syned/__test/__init__.py +0 -46
- syned-1.0.48/syned/__test/test.py +0 -28
- syned-1.0.48/syned/beamline/optical_elements/ideal_elements/__init__.py +0 -1
- syned-1.0.48/syned/beamline/optical_elements/mirrors/__init__.py +0 -1
- syned-1.0.48/syned/beamline/optical_elements/refractors/__init__.py +0 -1
- syned-1.0.48/syned/storage_ring/__init__.py +0 -1
- syned-1.0.48/syned/storage_ring/magnetic_structures/__init__.py +0 -1
- {syned-1.0.48 → syned-1.0.49}/syned/__init__.py +0 -0
- {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/absorbers/__init__.py +0 -0
- {syned-1.0.48 → syned-1.0.49}/syned/widget/__init__.py +0 -0
- {syned-1.0.48 → syned-1.0.49}/syned.egg-info/dependency_links.txt +0 -0
- {syned-1.0.48 → syned-1.0.49}/syned.egg-info/top_level.txt +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
Copyright (c) 2017-2019 The Oasys Organization
|
|
3
|
-
|
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
6
|
-
the Software without restriction, including without limitation the rights to
|
|
7
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
9
|
-
subject to the following conditions:
|
|
10
|
-
|
|
11
|
-
The above copyright notice and this permission notice shall be included in all
|
|
12
|
-
copies or substantial portions of the Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
-
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
Copyright (c) 2017-2019 The Oasys Organization
|
|
3
|
+
|
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
6
|
+
the Software without restriction, including without limitation the rights to
|
|
7
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
9
|
+
subject to the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be included in all
|
|
12
|
+
copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
recursive-include syned *.pyx
|
|
2
|
-
recursive-include syned *.py
|
|
3
|
-
|
|
4
|
-
include README.rst
|
|
5
|
-
include LICENSE
|
|
1
|
+
recursive-include syned *.pyx
|
|
2
|
+
recursive-include syned *.py
|
|
3
|
+
|
|
4
|
+
include README.rst
|
|
5
|
+
include LICENSE
|
|
@@ -1,87 +1,88 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: syned
|
|
3
|
-
Version: 1.0.
|
|
4
|
-
Summary: SYNED (SYNchrotron Elements Dictionary) kernel library
|
|
5
|
-
Home-page: https://github.com/oasys-kit/syned
|
|
6
|
-
Download-URL: https://github.com/oasys-kit/syned
|
|
7
|
-
Author: Manuel Sanchez del Rio, Luca Rebuffi
|
|
8
|
-
Author-email: srio@esrf.eu
|
|
9
|
-
Maintainer: L Rebuffi and M Sanchez del Rio
|
|
10
|
-
Maintainer-email: srio@esrf.eu
|
|
11
|
-
License: GPLv3
|
|
12
|
-
Keywords: dictionary,glossary,synchrotronsimulation
|
|
13
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
-
Classifier: Environment :: Console
|
|
15
|
-
Classifier: Environment :: Plugins
|
|
16
|
-
Classifier: Programming Language :: Python :: 3
|
|
17
|
-
Classifier: Operating System :: POSIX
|
|
18
|
-
Classifier: Operating System :: Microsoft :: Windows
|
|
19
|
-
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
20
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
21
|
-
Classifier: Intended Audience :: Education
|
|
22
|
-
Classifier: Intended Audience :: Science/Research
|
|
23
|
-
Classifier: Intended Audience :: Developers
|
|
24
|
-
License-File: LICENSE
|
|
25
|
-
Requires-Dist: setuptools
|
|
26
|
-
Requires-Dist: numpy
|
|
27
|
-
Requires-Dist: scipy
|
|
28
|
-
|
|
29
|
-
Dynamic: author
|
|
30
|
-
Dynamic:
|
|
31
|
-
Dynamic:
|
|
32
|
-
Dynamic:
|
|
33
|
-
Dynamic:
|
|
34
|
-
Dynamic:
|
|
35
|
-
Dynamic:
|
|
36
|
-
Dynamic: license
|
|
37
|
-
Dynamic:
|
|
38
|
-
Dynamic: maintainer
|
|
39
|
-
Dynamic:
|
|
40
|
-
Dynamic:
|
|
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
|
-
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: syned
|
|
3
|
+
Version: 1.0.49
|
|
4
|
+
Summary: SYNED (SYNchrotron Elements Dictionary) kernel library
|
|
5
|
+
Home-page: https://github.com/oasys-kit/syned
|
|
6
|
+
Download-URL: https://github.com/oasys-kit/syned
|
|
7
|
+
Author: Manuel Sanchez del Rio, Luca Rebuffi
|
|
8
|
+
Author-email: srio@esrf.eu
|
|
9
|
+
Maintainer: L Rebuffi and M Sanchez del Rio
|
|
10
|
+
Maintainer-email: srio@esrf.eu
|
|
11
|
+
License: GPLv3
|
|
12
|
+
Keywords: dictionary,glossary,synchrotronsimulation
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Environment :: Plugins
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Operating System :: POSIX
|
|
18
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
20
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
21
|
+
Classifier: Intended Audience :: Education
|
|
22
|
+
Classifier: Intended Audience :: Science/Research
|
|
23
|
+
Classifier: Intended Audience :: Developers
|
|
24
|
+
License-File: LICENSE
|
|
25
|
+
Requires-Dist: setuptools
|
|
26
|
+
Requires-Dist: numpy
|
|
27
|
+
Requires-Dist: scipy
|
|
28
|
+
Requires-Dist: json-tricks
|
|
29
|
+
Dynamic: author
|
|
30
|
+
Dynamic: author-email
|
|
31
|
+
Dynamic: classifier
|
|
32
|
+
Dynamic: description
|
|
33
|
+
Dynamic: download-url
|
|
34
|
+
Dynamic: home-page
|
|
35
|
+
Dynamic: keywords
|
|
36
|
+
Dynamic: license
|
|
37
|
+
Dynamic: license-file
|
|
38
|
+
Dynamic: maintainer
|
|
39
|
+
Dynamic: maintainer-email
|
|
40
|
+
Dynamic: requires-dist
|
|
41
|
+
Dynamic: summary
|
|
42
|
+
|
|
43
|
+
=====
|
|
44
|
+
syned
|
|
45
|
+
=====
|
|
46
|
+
|
|
47
|
+
About
|
|
48
|
+
-----
|
|
49
|
+
|
|
50
|
+
SYNchrotron Elements Dictionary.
|
|
51
|
+
|
|
52
|
+
A python library to define the components (sources, mirrors, crystals, etc.) of a synchrotron beamline and their positions.
|
|
53
|
+
They can be read/write to json files.
|
|
54
|
+
It is used by OASYS as a common tool to define sources and optical systems that are then exported to the different add-ons.
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
Documentation
|
|
58
|
+
-------------
|
|
59
|
+
https://syned.readthedocs.io/
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
Source repository
|
|
63
|
+
-----------------
|
|
64
|
+
https://github.com/oasys-kit/syned
|
|
65
|
+
|
|
66
|
+
Quick-installation
|
|
67
|
+
------------------
|
|
68
|
+
|
|
69
|
+
Syned can be installed with Python 3.x:
|
|
70
|
+
|
|
71
|
+
.. code-block:: console
|
|
72
|
+
|
|
73
|
+
$ python -m pip install syned
|
|
74
|
+
|
|
75
|
+
Graphical user interface
|
|
76
|
+
------------------------
|
|
77
|
+
|
|
78
|
+
A graphical interface is available under Oasys: https://github.com/oasys-kit/OASYS-SYNED
|
|
79
|
+
|
|
80
|
+
Reference
|
|
81
|
+
---------
|
|
82
|
+
|
|
83
|
+
Luca Rebuffi, Manuel Sanchez del Rio,
|
|
84
|
+
"Interoperability and complementarity of simulation tools for beamline design in the
|
|
85
|
+
OASYS environment,"
|
|
86
|
+
Proc. SPIE 10388, Advances in Computational Methods for X-Ray Optics IV, 1038808 (23 August 2017);
|
|
87
|
+
https://doi.org/10.1117/12.2274232
|
|
88
|
+
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
=====
|
|
2
|
-
syned
|
|
3
|
-
=====
|
|
4
|
-
|
|
5
|
-
About
|
|
6
|
-
-----
|
|
7
|
-
|
|
8
|
-
SYNchrotron Elements Dictionary.
|
|
9
|
-
|
|
10
|
-
A python library to define the components (sources, mirrors, crystals, etc.) of a synchrotron beamline and their positions.
|
|
11
|
-
They can be read/write to json files.
|
|
12
|
-
It is used by OASYS as a common tool to define sources and optical systems that are then exported to the different add-ons.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Documentation
|
|
16
|
-
-------------
|
|
17
|
-
https://syned.readthedocs.io/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Source repository
|
|
21
|
-
-----------------
|
|
22
|
-
https://github.com/oasys-kit/syned
|
|
23
|
-
|
|
24
|
-
Quick-installation
|
|
25
|
-
------------------
|
|
26
|
-
|
|
27
|
-
Syned can be installed with Python 3.x:
|
|
28
|
-
|
|
29
|
-
.. code-block:: console
|
|
30
|
-
|
|
31
|
-
$ python -m pip install syned
|
|
32
|
-
|
|
33
|
-
Graphical user interface
|
|
34
|
-
------------------------
|
|
35
|
-
|
|
36
|
-
A graphical interface is available under Oasys: https://github.com/oasys-kit/OASYS-SYNED
|
|
37
|
-
|
|
38
|
-
Reference
|
|
39
|
-
---------
|
|
40
|
-
|
|
41
|
-
Luca Rebuffi, Manuel Sanchez del Rio,
|
|
42
|
-
"Interoperability and complementarity of simulation tools for beamline design in the
|
|
43
|
-
OASYS environment,"
|
|
44
|
-
Proc. SPIE 10388, Advances in Computational Methods for X-Ray Optics IV, 1038808 (23 August 2017);
|
|
45
|
-
https://doi.org/10.1117/12.2274232
|
|
46
|
-
|
|
1
|
+
=====
|
|
2
|
+
syned
|
|
3
|
+
=====
|
|
4
|
+
|
|
5
|
+
About
|
|
6
|
+
-----
|
|
7
|
+
|
|
8
|
+
SYNchrotron Elements Dictionary.
|
|
9
|
+
|
|
10
|
+
A python library to define the components (sources, mirrors, crystals, etc.) of a synchrotron beamline and their positions.
|
|
11
|
+
They can be read/write to json files.
|
|
12
|
+
It is used by OASYS as a common tool to define sources and optical systems that are then exported to the different add-ons.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
Documentation
|
|
16
|
+
-------------
|
|
17
|
+
https://syned.readthedocs.io/
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
Source repository
|
|
21
|
+
-----------------
|
|
22
|
+
https://github.com/oasys-kit/syned
|
|
23
|
+
|
|
24
|
+
Quick-installation
|
|
25
|
+
------------------
|
|
26
|
+
|
|
27
|
+
Syned can be installed with Python 3.x:
|
|
28
|
+
|
|
29
|
+
.. code-block:: console
|
|
30
|
+
|
|
31
|
+
$ python -m pip install syned
|
|
32
|
+
|
|
33
|
+
Graphical user interface
|
|
34
|
+
------------------------
|
|
35
|
+
|
|
36
|
+
A graphical interface is available under Oasys: https://github.com/oasys-kit/OASYS-SYNED
|
|
37
|
+
|
|
38
|
+
Reference
|
|
39
|
+
---------
|
|
40
|
+
|
|
41
|
+
Luca Rebuffi, Manuel Sanchez del Rio,
|
|
42
|
+
"Interoperability and complementarity of simulation tools for beamline design in the
|
|
43
|
+
OASYS environment,"
|
|
44
|
+
Proc. SPIE 10388, Advances in Computational Methods for X-Ray Optics IV, 1038808 (23 August 2017);
|
|
45
|
+
https://doi.org/10.1117/12.2274232
|
|
46
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[egg_info]
|
|
2
|
-
tag_build =
|
|
3
|
-
tag_date = 0
|
|
4
|
-
|
|
1
|
+
[egg_info]
|
|
2
|
+
tag_build =
|
|
3
|
+
tag_date = 0
|
|
4
|
+
|
|
@@ -1,99 +1,100 @@
|
|
|
1
|
-
#! /usr/bin/env python3
|
|
2
|
-
|
|
3
|
-
import os
|
|
4
|
-
|
|
5
|
-
try:
|
|
6
|
-
from setuptools import find_packages, setup
|
|
7
|
-
except AttributeError:
|
|
8
|
-
from setuptools import find_packages, setup
|
|
9
|
-
|
|
10
|
-
NAME = 'syned'
|
|
11
|
-
|
|
12
|
-
VERSION = '1.0.
|
|
13
|
-
ISRELEASED = True
|
|
14
|
-
|
|
15
|
-
DESCRIPTION = 'SYNED (SYNchrotron Elements Dictionary) kernel library'
|
|
16
|
-
README_FILE = os.path.join(os.path.dirname(__file__), 'README.rst')
|
|
17
|
-
LONG_DESCRIPTION = open(README_FILE).read()
|
|
18
|
-
AUTHOR = 'Manuel Sanchez del Rio, Luca Rebuffi'
|
|
19
|
-
AUTHOR_EMAIL = 'srio@esrf.eu'
|
|
20
|
-
URL = 'https://github.com/oasys-kit/syned'
|
|
21
|
-
DOWNLOAD_URL = 'https://github.com/oasys-kit/syned'
|
|
22
|
-
MAINTAINER = 'L Rebuffi and M Sanchez del Rio'
|
|
23
|
-
MAINTAINER_EMAIL = 'srio@esrf.eu'
|
|
24
|
-
LICENSE = 'GPLv3'
|
|
25
|
-
|
|
26
|
-
KEYWORDS = [
|
|
27
|
-
'dictionary',
|
|
28
|
-
'glossary',
|
|
29
|
-
'synchrotron'
|
|
30
|
-
'simulation',
|
|
31
|
-
]
|
|
32
|
-
|
|
33
|
-
CLASSIFIERS = [
|
|
34
|
-
'Development Status :: 5 - Production/Stable',
|
|
35
|
-
'Environment :: Console',
|
|
36
|
-
'Environment :: Plugins',
|
|
37
|
-
'Programming Language :: Python :: 3',
|
|
38
|
-
'Operating System :: POSIX',
|
|
39
|
-
'Operating System :: Microsoft :: Windows',
|
|
40
|
-
'Topic :: Scientific/Engineering :: Visualization',
|
|
41
|
-
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
42
|
-
'Intended Audience :: Education',
|
|
43
|
-
'Intended Audience :: Science/Research',
|
|
44
|
-
'Intended Audience :: Developers',
|
|
45
|
-
]
|
|
46
|
-
|
|
47
|
-
INSTALL_REQUIRES = (
|
|
48
|
-
'setuptools',
|
|
49
|
-
'numpy',
|
|
50
|
-
'scipy',
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"syned
|
|
56
|
-
"syned.beamline
|
|
57
|
-
"syned.beamline.optical_elements
|
|
58
|
-
"syned.beamline.optical_elements.
|
|
59
|
-
"syned.beamline.optical_elements.
|
|
60
|
-
"syned.beamline.optical_elements.
|
|
61
|
-
"syned.beamline.optical_elements.
|
|
62
|
-
"syned.beamline.optical_elements.
|
|
63
|
-
"syned.beamline.optical_elements.
|
|
64
|
-
"syned.beamline.optical_elements.ideal_elements",
|
|
65
|
-
"syned.
|
|
66
|
-
"syned.storage_ring
|
|
67
|
-
"syned.
|
|
68
|
-
"syned.
|
|
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
|
-
|
|
98
|
-
|
|
99
|
-
|
|
1
|
+
#! /usr/bin/env python3
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
try:
|
|
6
|
+
from setuptools import find_packages, setup
|
|
7
|
+
except AttributeError:
|
|
8
|
+
from setuptools import find_packages, setup
|
|
9
|
+
|
|
10
|
+
NAME = 'syned'
|
|
11
|
+
|
|
12
|
+
VERSION = '1.0.49'
|
|
13
|
+
ISRELEASED = True
|
|
14
|
+
|
|
15
|
+
DESCRIPTION = 'SYNED (SYNchrotron Elements Dictionary) kernel library'
|
|
16
|
+
README_FILE = os.path.join(os.path.dirname(__file__), 'README.rst')
|
|
17
|
+
LONG_DESCRIPTION = open(README_FILE).read()
|
|
18
|
+
AUTHOR = 'Manuel Sanchez del Rio, Luca Rebuffi'
|
|
19
|
+
AUTHOR_EMAIL = 'srio@esrf.eu'
|
|
20
|
+
URL = 'https://github.com/oasys-kit/syned'
|
|
21
|
+
DOWNLOAD_URL = 'https://github.com/oasys-kit/syned'
|
|
22
|
+
MAINTAINER = 'L Rebuffi and M Sanchez del Rio'
|
|
23
|
+
MAINTAINER_EMAIL = 'srio@esrf.eu'
|
|
24
|
+
LICENSE = 'GPLv3'
|
|
25
|
+
|
|
26
|
+
KEYWORDS = [
|
|
27
|
+
'dictionary',
|
|
28
|
+
'glossary',
|
|
29
|
+
'synchrotron'
|
|
30
|
+
'simulation',
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
CLASSIFIERS = [
|
|
34
|
+
'Development Status :: 5 - Production/Stable',
|
|
35
|
+
'Environment :: Console',
|
|
36
|
+
'Environment :: Plugins',
|
|
37
|
+
'Programming Language :: Python :: 3',
|
|
38
|
+
'Operating System :: POSIX',
|
|
39
|
+
'Operating System :: Microsoft :: Windows',
|
|
40
|
+
'Topic :: Scientific/Engineering :: Visualization',
|
|
41
|
+
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
42
|
+
'Intended Audience :: Education',
|
|
43
|
+
'Intended Audience :: Science/Research',
|
|
44
|
+
'Intended Audience :: Developers',
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
INSTALL_REQUIRES = (
|
|
48
|
+
'setuptools',
|
|
49
|
+
'numpy',
|
|
50
|
+
'scipy',
|
|
51
|
+
'json-tricks',
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
PACKAGES = [
|
|
55
|
+
"syned",
|
|
56
|
+
"syned.beamline",
|
|
57
|
+
"syned.beamline.optical_elements",
|
|
58
|
+
"syned.beamline.optical_elements.absorbers",
|
|
59
|
+
"syned.beamline.optical_elements.crystals",
|
|
60
|
+
"syned.beamline.optical_elements.gratings",
|
|
61
|
+
"syned.beamline.optical_elements.ideal_elements",
|
|
62
|
+
"syned.beamline.optical_elements.mirrors",
|
|
63
|
+
"syned.beamline.optical_elements.refractors",
|
|
64
|
+
"syned.beamline.optical_elements.ideal_elements",
|
|
65
|
+
"syned.beamline.optical_elements.ideal_elements",
|
|
66
|
+
"syned.storage_ring",
|
|
67
|
+
"syned.storage_ring.magnetic_structures",
|
|
68
|
+
"syned.util",
|
|
69
|
+
"syned.widget",
|
|
70
|
+
]
|
|
71
|
+
|
|
72
|
+
PACKAGE_DATA = {
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
def setup_package():
|
|
77
|
+
setup(
|
|
78
|
+
name=NAME,
|
|
79
|
+
version=VERSION,
|
|
80
|
+
description=DESCRIPTION,
|
|
81
|
+
long_description=LONG_DESCRIPTION,
|
|
82
|
+
author=AUTHOR,
|
|
83
|
+
author_email=AUTHOR_EMAIL,
|
|
84
|
+
maintainer=MAINTAINER,
|
|
85
|
+
maintainer_email=MAINTAINER_EMAIL,
|
|
86
|
+
url=URL,
|
|
87
|
+
download_url=DOWNLOAD_URL,
|
|
88
|
+
license=LICENSE,
|
|
89
|
+
keywords=KEYWORDS,
|
|
90
|
+
classifiers=CLASSIFIERS,
|
|
91
|
+
packages=PACKAGES,
|
|
92
|
+
package_data=PACKAGE_DATA,
|
|
93
|
+
# extra setuptools args
|
|
94
|
+
zip_safe=False, # the package can run out of an .egg file
|
|
95
|
+
include_package_data=True,
|
|
96
|
+
install_requires=INSTALL_REQUIRES,
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
if __name__ == '__main__':
|
|
100
|
+
setup_package()
|
{syned-1.0.48/syned/beamline/optical_elements/crystals → syned-1.0.49/syned/beamline}/__init__.py
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|