forked from aocg-ucm/diffractio
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·68 lines (59 loc) · 2 KB
/
setup.py
File metadata and controls
executable file
·68 lines (59 loc) · 2 KB
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
#!/usr/bin/env python3
"""The setup script."""
from setuptools import find_packages, setup
with open('README.rst', encoding='utf8') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst', encoding='utf8') as history_file:
history = history_file.read()
with open('requirements.txt', encoding='utf8') as req:
requirements = req.readlines()
# requirements = [
# 'matplotlib', 'numpy', 'scipy', 'ezdxf',
# 'screeninfo', 'Pillow', 'numexpr', 'pandas', 'py_pol',
# 'ipywidgets', 'ipympl>=0.9.3', 'opencv-python', 'psutil', 'pyvista', 'python-ffmpeg', 'pyqt5',
# ]
setup_requirements = [
'pytest-runner',
]
test_requirements = [
'pytest',
]
setup(
author="Luis Miguel Sanchez Brea",
author_email='optbrea@ucm.es',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GPLv3 License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
description="Optical Diffraction and Interference (scalar and vectorial)",
entry_points={
'console_scripts': [
'diffractio=diffractio.cli:main',
],
},
install_requires=requirements,
license="GPLv3 license",
# long_description=readme + '\n\n' + history,
long_description=readme,
include_package_data=True,
keywords=[
'diffractio', 'optics', 'diffraction', 'interference',
'BPM', 'WPM', 'CZT', 'RS', 'VRS', 'VCZT', 'FPWPM'
],
name='diffractio',
packages=find_packages(include=['diffractio']),
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/optbrea/diffractio',
version='1.0.0',
zip_safe=False,
)