-
Notifications
You must be signed in to change notification settings - Fork 179
/
setup.cfg
90 lines (82 loc) · 2.73 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
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
# https://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files
[metadata]
name = PySpice
version = attr: PySpice.__version__
url = https://github.com/FabriceSalvaire/PySpice
# download_url =
project_urls =
Documentation = https://pyspice.fabrice-salvaire.fr
Code = https://github.com/FabriceSalvaire/PySpice
Issue Tracker = https://github.com/FabriceSalvaire/PySpice/issues
Forum = https://pyspice.discourse.group
license = GPLv3
# license_file =
license_files = LICENSE.txt
author = Fabrice Salvaire
author_email = [email protected]
maintainer = Fabrice Salvaire
maintainer_email = [email protected]
description = Simulate electronic circuit using Python and the Ngspice / Xyce simulators
# long_description = file: README.rst
# , CHANGELOG.rst, LICENSE.rst
long_description_content_type = text/x-rst
keywords = ngspice, xyce, spice, berkeley, electronic, circuit, simulation, simulator
classifiers =
Topic :: Scientific/Engineering
Intended Audience :: Education
Development Status :: 5 - Production/Stable
License :: OSI Approved :: GNU General Public License (GPL)
Operating System :: OS Independent
Programming Language :: Python :: 3.6
platforms = any
# provides =
# requires =
# obsoletes =
[options]
packages = find:
python_requires = >=3.6
setup_require = setuptools
# install_requires should declare the loosest possible dependency versions that are still workable
# https://packaging.python.org/discussions/install-requires-vs-requirements/
install_requires =
PyYAML>=5.3
cffi>=1.14
matplotlib>=3.2
numpy>=1.18
ply>=3.11
scipy>=1.4
requests>=2.23
zip_safe = False
# Look in MANIFEST.in
include_package_data = True
[options.packages.find]
exclude =
unit-test
[options.package_data]
PySpice.Config = logging.yml
PySpice.Spice.NgSpice = api.h
[options.entry_points]
console_scripts =
cir2py = PySpice.Scripts.cir2py:main
pyspice-post-installation = PySpice.Scripts.pyspice_post_installation:main
[bdist_wheel]
universal = 1
[flake8]
max-line-length = 120
# https://flake8.pycqa.org/en/latest/user/error-codes.html
# https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
# E226 missing whitespace around arithmetic operator
# E302 expected 2 blank lines
# E303 too many blank lines
# E305 expected 2 blank lines after class or function definition
# E402 module level import not at top of file
ignore = E226, E302, E303, E305, E402
[pylint.message]
# module-naming-style=PascalCase
disable =
fixme, # spam ...
invalid-name, # for module name not conforming to snake_case
missing-class-docstring, # spam ...
missing-function-docstring,
missing-module-docstring,
no-else-return # sometimes it is more readable ...