代码拉取完成,页面将自动刷新
同步操作将从 sunnybooy/pyuavcan 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
[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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。