1 Star 0 Fork 1

mealy_moore/pyuavcan

forked from sunnybooy/pyuavcan 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.cfg 5.52 KB
一键复制 编辑 原始数据 按行查看 历史
pavel-kirienko 提交于 2020-01-26 16:58 . A critical fix
[metadata]
name = pyuavcan
version = file: pyuavcan/VERSION
author = UAVCAN Development Team
author_email = uavcan-maintainers@googlegroups.com
url = https://uavcan.org
description = A full-featured implementation of the UAVCAN protocol stack in Python.
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
keywords =
uavcan
data-bus
can-bus
ethernet
vehicular
onboard-networking
avionics
communication-protocol
classifiers =
Intended Audience :: Developers
Topic :: Scientific/Engineering
Topic :: Software Development :: Embedded Systems
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Software Development :: Object Brokering
Topic :: System :: Distributed Computing
Topic :: System :: Networking
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
# ======================================== OPTIONAL DEPENDENCIES ========================================
[options.extras_require]
# Key name format: "transport_<transport-name>_<media-name>"; e.g.: "transport_ieee802154_xbee".
# If there is no media sub-layer, or the media dependencies are shared, or it is desired to have a common
# option for all media types, the media part may be omitted from the key.
transport_can_pythoncan =
python-can[serial] ~= 3.3
transport_serial =
pyserial ~= 3.4
# Command-line tool. This is not a transport.
# Per ruamel.yaml docs: "For production systems you should pin the version being used with ``ruamel.yaml<=0.15``"
cli =
ruamel.yaml < 0.16
requests ~= 2.21
simplejson ~= 3.16
# ======================================== PACKAGE CONFIGURATION ========================================
[options]
zip_safe = False
include_package_data = True
packages = find:
# Think thrice before adding anything here, please.
# The preferred long-term plan is to avoid adding any new dependencies whatsoever for the project's lifetime.
install_requires =
pydsdl ~= 1.1
numpy ~= 1.16
nunavut == 0.1.20
[options.packages.find]
# https://setuptools.readthedocs.io/en/latest/setuptools.html#find-namespace-packages
include =
pyuavcan
pyuavcan.*
[options.entry_points]
# Scripts and their abridged aliases.
console_scripts =
pyuavcan = pyuavcan._cli:main
uvc = pyuavcan._cli:main
[options.package_data]
# jingle bells jingle bells
# jingle all the way
* =
*
*/*
*/*/*
*/*/*/*
*/*/*/*/*
# oh what fun it is to ride
# in a one-horse open sleigh
# ======================================== DEVELOPMENT AND MAINTENANCE ========================================
[tool:pytest]
# https://docs.pytest.org/en/latest/pythonpath.html#invoking-pytest-versus-python-m-pytest
# - Application is excluded because it requires the uavcan DSDL package to be generated. Hence there are no unit tests.
# - CLI is excluded because it requires additional third-party dependencies. They require separate environment config.
# - Public regulated data types do not contain any testable Python files, it's just a DSDL repo.
# - Demo application scripts cannot be imported; they are designed to be runnable.
norecursedirs =
pyuavcan/application
pyuavcan/_cli
tests/public_regulated_data_types
tests/demo
testpaths = pyuavcan tests
python_files = *.py
python_classes = _UnitTest
python_functions = _unittest_
# Verbose logging is required to ensure full coverage of conditional logging branches.
log_level = DEBUG
log_cli_level = DEBUG
log_cli = true
addopts = --doctest-modules -v --fulltrace --capture=no
# Deprecation warnings must be ignored because some of the tested generated data types are marked deprecated on purpose.
# NumPy sometimes emits "invalid value encountered in multiply" which we don't care about.
filterwarnings =
error
ignore::DeprecationWarning
ignore:invalid value encountered in multiply:RuntimeWarning
ignore:.*experimental extension.*:RuntimeWarning
[mypy]
# Python version is not specified to allow checking against different versions.
warn_return_any = True
warn_unused_configs = True
disallow_untyped_defs = True
check_untyped_defs = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
show_error_context = True
mypy_path =
.test_dsdl_generated
[mypy-pytest]
ignore_missing_imports = True
[mypy-pydsdl]
ignore_missing_imports = True
[mypy-nunavut]
ignore_missing_imports = True
[mypy-nunavut.*]
ignore_missing_imports = True
[mypy-numpy]
ignore_missing_imports = True
[mypy-ruamel.*]
ignore_missing_imports = True
implicit_reexport = True
[mypy-serial]
ignore_missing_imports = True
[mypy-coloredlogs]
ignore_missing_imports = True
[coverage:run]
data_file = .coverage
branch = True
parallel = True
source =
pyuavcan
tests
.test_dsdl_generated
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
assert False
if False:
if __name__ == .__main__.:
[pycodestyle]
# E221 multiple spaces before operator
# E241 multiple spaces after ':'
# W503 line break before binary operator (this is actually the recommended style, the linter is wrong here)
ignore = E221, E241, W503
max-line-length = 120
show-source = True
exclude = tests/public_regulated_data_types
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mealy_moore/pyuavcan.git
git@gitee.com:mealy_moore/pyuavcan.git
mealy_moore
pyuavcan
pyuavcan
master

搜索帮助