-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.cfg
57 lines (53 loc) · 1.8 KB
/
setup.cfg
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
[metadata]
name = GeOptics
version = attr: geoptics.__version__
description = Light rays propagation in 2D
long_description = file: README.rst, NEWS, LICENSE.txt
author = Ederag
author_email = [email protected]
#keywords = one, two TODO
license = GNU General Public License v3 or later (GPLv3+)
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Education
# already in license metadata
#License :: OSI Approved ::GNU General Public License v3 or later (GPLv3+)
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.9
[options]
packages = find:
python_requires = >=3.6
install_requires =
PyYAML
PyQt5
[options.entry_points]
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# `pip` to create the appropriate form of executable for the target
# platform.
#
# For example, the following would provide a command called `geoptics`
# which executes the function `main` from this package when invoked:
# https://packaging.python.org/tutorials/distributing-packages/#console-scripts
# https://setuptools.readthedocs.io/en/latest/setuptools.html#automatic-script-creation
gui_scripts =
geoptics=geoptics.__main__:main
[aliases]
test=pytest
[flake8]
# for flake8-import-order
application_import_names = geoptics
ignore =
W191, W293, E121, E101, E122, E126, E127, E265, D105, D107, D202,
# waiting for https://github.com/PyCQA/pycodestyle/issues/880
E402
# https://peps.python.org/pep-0008/#should-a-line-break-before-or-after-a-binary-operator
W503
exclude =
geoptics/guis/tk.py
per-file-ignores =
setup.py: D100
# double wildcard to match any directory
# https://github.com/snoack/flake8-per-file-ignores/issues/8
tests/**/*.py: D100, D101, D102, D103