1# This file is used to configure your project. 2# Read more about the various options under: 3# https://setuptools.pypa.io/en/latest/userguide/declarative_config.html 4# https://setuptools.pypa.io/en/latest/references/keywords.html 5 6[options] 7zip_safe = False 8packages = find_namespace: 9include_package_data = True 10package_dir = 11 =src 12 13# Require a min/specific Python version (comma-separated conditions) 14# python_requires = >=3.8 15 16[options.packages.find] 17where = src 18exclude = 19 tests 20 21[options.extras_require] 22# Add here additional requirements for extra features, to install with: 23# `pip install netsim-grpc[PDF]` like: 24# PDF = ReportLab; RXP 25 26# Add here test requirements (semicolon/line-separated) 27testing = 28 setuptools 29 pytest 30 pytest-cov 31 mock 32 33[options.entry_points] 34# Add here console scripts like: 35# console_scripts = 36# script_name = aemu_grpc.module:function 37# For example: 38# console_scripts = 39# fibonacci = aemu_grpc.skeleton:run 40# And any other entry points, for example: 41# pyscaffold.cli = 42# awesome = pyscaffoldext.awesome.extension:AwesomeExtension 43 44[tool:pytest] 45# Specify command line options as you would do when invoking pytest directly. 46# e.g. --cov-report html (or xml) for html/xml output or --junitxml junit.xml 47# in order to write a coverage file that can be read by Jenkins. 48# CAUTION: --cov flags may prohibit setting breakpoints while debugging. 49# Comment those flags to avoid this pytest issue. 50addopts = 51 --cov netsim --cov-report term-missing 52 --verbose 53norecursedirs = 54 dist 55 build 56 .tox 57testpaths = tests 58# Use pytest markers to select/deselect specific tests 59# markers = 60# slow: mark tests as slow (deselect with '-m "not slow"') 61# system: mark end-to-end system tests 62 63[devpi:upload] 64# Options for the devpi: PyPI server and packaging tool 65# VCS export must be deactivated since we are using setuptools-scm 66no_vcs = 1 67formats = bdist_wheel 68 69[flake8] 70# Some initial defaults for the code style checker flake8 71max_line_length = 88 72extend_ignore = E203, W503 73# ^ Black-compatible 74# E203 and W503 have edge cases handled by black 75exclude = 76 .tox 77 build 78 dist 79 .eggs 80 docs/conf.py 81