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.
Files changed (66) hide show
  1. {syned-1.0.48 → syned-1.0.49}/LICENSE +20 -20
  2. {syned-1.0.48 → syned-1.0.49}/MANIFEST.in +5 -5
  3. {syned-1.0.48/syned.egg-info → syned-1.0.49}/PKG-INFO +88 -87
  4. {syned-1.0.48 → syned-1.0.49}/README.rst +46 -46
  5. {syned-1.0.48 → syned-1.0.49}/setup.cfg +4 -4
  6. {syned-1.0.48 → syned-1.0.49}/setup.py +100 -99
  7. {syned-1.0.48/syned/beamline/optical_elements/crystals → syned-1.0.49/syned/beamline}/__init__.py +1 -1
  8. {syned-1.0.48 → syned-1.0.49}/syned/beamline/beamline.py +155 -155
  9. {syned-1.0.48 → syned-1.0.49}/syned/beamline/beamline_element.py +76 -76
  10. {syned-1.0.48 → syned-1.0.49}/syned/beamline/element_coordinates.py +199 -199
  11. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_element.py +47 -47
  12. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_element_with_surface_shape.py +126 -126
  13. {syned-1.0.48/syned/beamline/optical_elements/gratings → syned-1.0.49/syned/beamline/optical_elements}/__init__.py +1 -1
  14. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/absorbers/absorber.py +21 -21
  15. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/absorbers/beam_stopper.py +63 -63
  16. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/absorbers/filter.py +61 -61
  17. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/absorbers/holed_filter.py +67 -67
  18. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/absorbers/slit.py +80 -80
  19. {syned-1.0.48/syned/beamline → syned-1.0.49/syned/beamline/optical_elements/crystals}/__init__.py +1 -1
  20. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/crystals/crystal.py +70 -70
  21. {syned-1.0.48/syned/beamline/optical_elements → syned-1.0.49/syned/beamline/optical_elements/gratings}/__init__.py +1 -1
  22. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/gratings/grating.py +279 -279
  23. syned-1.0.49/syned/beamline/optical_elements/ideal_elements/__init__.py +1 -0
  24. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/ideal_elements/ideal_element.py +15 -15
  25. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/ideal_elements/ideal_fzp.py +183 -183
  26. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/ideal_elements/ideal_lens.py +54 -54
  27. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/ideal_elements/screen.py +15 -15
  28. syned-1.0.49/syned/beamline/optical_elements/mirrors/__init__.py +1 -0
  29. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/mirrors/mirror.py +39 -39
  30. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/multilayers/__init__.py +46 -46
  31. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/multilayers/multilayer.py +45 -45
  32. syned-1.0.49/syned/beamline/optical_elements/refractors/__init__.py +1 -0
  33. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/refractors/crl.py +79 -79
  34. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/refractors/interface.py +60 -60
  35. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/refractors/lens.py +105 -105
  36. {syned-1.0.48 → syned-1.0.49}/syned/beamline/shape.py +2884 -2803
  37. syned-1.0.49/syned/storage_ring/__init__.py +1 -0
  38. {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/electron_beam.py +804 -804
  39. {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/empty_light_source.py +40 -40
  40. {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/light_source.py +90 -90
  41. {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/magnetic_structure.py +8 -8
  42. syned-1.0.49/syned/storage_ring/magnetic_structures/__init__.py +1 -0
  43. {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/magnetic_structures/bending_magnet.py +329 -329
  44. {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/magnetic_structures/insertion_device.py +169 -169
  45. {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/magnetic_structures/undulator.py +413 -413
  46. {syned-1.0.48 → syned-1.0.49}/syned/storage_ring/magnetic_structures/wiggler.py +27 -27
  47. {syned-1.0.48 → syned-1.0.49}/syned/syned_object.py +273 -275
  48. {syned-1.0.48 → syned-1.0.49}/syned/util/__init__.py +21 -21
  49. {syned-1.0.48 → syned-1.0.49}/syned/util/json_tools.py +196 -198
  50. {syned-1.0.48 → syned-1.0.49}/syned/widget/widget_decorator.py +66 -66
  51. {syned-1.0.48 → syned-1.0.49/syned.egg-info}/PKG-INFO +88 -87
  52. {syned-1.0.48 → syned-1.0.49}/syned.egg-info/SOURCES.txt +0 -2
  53. {syned-1.0.48 → syned-1.0.49}/syned.egg-info/not-zip-safe +1 -1
  54. {syned-1.0.48 → syned-1.0.49}/syned.egg-info/requires.txt +1 -0
  55. syned-1.0.48/syned/__test/__init__.py +0 -46
  56. syned-1.0.48/syned/__test/test.py +0 -28
  57. syned-1.0.48/syned/beamline/optical_elements/ideal_elements/__init__.py +0 -1
  58. syned-1.0.48/syned/beamline/optical_elements/mirrors/__init__.py +0 -1
  59. syned-1.0.48/syned/beamline/optical_elements/refractors/__init__.py +0 -1
  60. syned-1.0.48/syned/storage_ring/__init__.py +0 -1
  61. syned-1.0.48/syned/storage_ring/magnetic_structures/__init__.py +0 -1
  62. {syned-1.0.48 → syned-1.0.49}/syned/__init__.py +0 -0
  63. {syned-1.0.48 → syned-1.0.49}/syned/beamline/optical_elements/absorbers/__init__.py +0 -0
  64. {syned-1.0.48 → syned-1.0.49}/syned/widget/__init__.py +0 -0
  65. {syned-1.0.48 → syned-1.0.49}/syned.egg-info/dependency_links.txt +0 -0
  66. {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.48
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
- Dynamic: author
29
- Dynamic: author-email
30
- Dynamic: classifier
31
- Dynamic: description
32
- Dynamic: download-url
33
- Dynamic: home-page
34
- Dynamic: keywords
35
- Dynamic: license
36
- Dynamic: license-file
37
- Dynamic: maintainer
38
- Dynamic: maintainer-email
39
- Dynamic: requires-dist
40
- Dynamic: summary
41
-
42
- =====
43
- syned
44
- =====
45
-
46
- About
47
- -----
48
-
49
- SYNchrotron Elements Dictionary.
50
-
51
- A python library to define the components (sources, mirrors, crystals, etc.) of a synchrotron beamline and their positions.
52
- They can be read/write to json files.
53
- It is used by OASYS as a common tool to define sources and optical systems that are then exported to the different add-ons.
54
-
55
-
56
- Documentation
57
- -------------
58
- https://syned.readthedocs.io/
59
-
60
-
61
- Source repository
62
- -----------------
63
- https://github.com/oasys-kit/syned
64
-
65
- Quick-installation
66
- ------------------
67
-
68
- Syned can be installed with Python 3.x:
69
-
70
- .. code-block:: console
71
-
72
- $ python -m pip install syned
73
-
74
- Graphical user interface
75
- ------------------------
76
-
77
- A graphical interface is available under Oasys: https://github.com/oasys-kit/OASYS-SYNED
78
-
79
- Reference
80
- ---------
81
-
82
- Luca Rebuffi, Manuel Sanchez del Rio,
83
- "Interoperability and complementarity of simulation tools for beamline design in the
84
- OASYS environment,"
85
- Proc. SPIE 10388, Advances in Computational Methods for X-Ray Optics IV, 1038808 (23 August 2017);
86
- https://doi.org/10.1117/12.2274232
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.48'
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
- PACKAGES = [
54
- "syned",
55
- "syned.beamline",
56
- "syned.beamline.optical_elements",
57
- "syned.beamline.optical_elements.absorbers",
58
- "syned.beamline.optical_elements.crystals",
59
- "syned.beamline.optical_elements.gratings",
60
- "syned.beamline.optical_elements.ideal_elements",
61
- "syned.beamline.optical_elements.mirrors",
62
- "syned.beamline.optical_elements.refractors",
63
- "syned.beamline.optical_elements.ideal_elements",
64
- "syned.beamline.optical_elements.ideal_elements",
65
- "syned.storage_ring",
66
- "syned.storage_ring.magnetic_structures",
67
- "syned.util",
68
- "syned.widget",
69
- ]
70
-
71
- PACKAGE_DATA = {
72
- }
73
-
74
-
75
- def setup_package():
76
- setup(
77
- name=NAME,
78
- version=VERSION,
79
- description=DESCRIPTION,
80
- long_description=LONG_DESCRIPTION,
81
- author=AUTHOR,
82
- author_email=AUTHOR_EMAIL,
83
- maintainer=MAINTAINER,
84
- maintainer_email=MAINTAINER_EMAIL,
85
- url=URL,
86
- download_url=DOWNLOAD_URL,
87
- license=LICENSE,
88
- keywords=KEYWORDS,
89
- classifiers=CLASSIFIERS,
90
- packages=PACKAGES,
91
- package_data=PACKAGE_DATA,
92
- # extra setuptools args
93
- zip_safe=False, # the package can run out of an .egg file
94
- include_package_data=True,
95
- install_requires=INSTALL_REQUIRES,
96
- )
97
-
98
- if __name__ == '__main__':
99
- setup_package()
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()