setup.cfg 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. # This file is used to configure your project.
  2. # Read more about the various options under:
  3. # http://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files
  4. [metadata]
  5. name = rfidacd
  6. description = RFID action commander daemon
  7. author = Thomas Verchow
  8. author_email = thomas.verchow@in-ulm.de
  9. license = MIT
  10. long_description = file: README.rst
  11. long_description_content_type = text/x-rst; charset=UTF-8
  12. url = https://github.com/pyscaffold/pyscaffold/
  13. # Add here related links, for example:
  14. project_urls =
  15. Documentation = https://pyscaffold.org/
  16. # Source = https://github.com/pyscaffold/pyscaffold/
  17. # Changelog = https://pyscaffold.org/en/latest/changelog.html
  18. # Tracker = https://github.com/pyscaffold/pyscaffold/issues
  19. # Conda-Forge = https://anaconda.org/conda-forge/pyscaffold
  20. # Download = https://pypi.org/project/PyScaffold/#files
  21. # Twitter = https://twitter.com/PyScaffold
  22. # Change if running only on Windows, Mac or Linux (comma-separated)
  23. platforms = Linux
  24. # Add here all kinds of additional classifiers as defined under
  25. # https://pypi.python.org/pypi?%3Aaction=list_classifiers
  26. classifiers =
  27. Development Status :: 4 - Beta
  28. Programming Language :: Python
  29. [options]
  30. zip_safe = False
  31. packages = find_namespace:
  32. include_package_data = True
  33. package_dir =
  34. =src
  35. # Require a min/specific Python version (comma-separated conditions)
  36. # python_requires = >=3.8
  37. # Add here dependencies of your project (line-separated), e.g. requests>=2.2,<3.0.
  38. # Version specifiers like >=2.2,<3.0 avoid problems due to API changes in
  39. # new major versions. This works if the required packages follow Semantic Versioning.
  40. # For more information, check out https://semver.org/.
  41. install_requires =
  42. importlib-metadata; python_version<"3.8"
  43. evdev
  44. [options.packages.find]
  45. where = src
  46. exclude =
  47. tests
  48. [options.extras_require]
  49. # Add here additional requirements for extra features, to install with:
  50. # `pip install rfidacd[PDF]` like:
  51. # PDF = ReportLab; RXP
  52. # Add here test requirements (semicolon/line-separated)
  53. testing =
  54. setuptools
  55. pytest
  56. pytest-cov
  57. [options.entry_points]
  58. # Add here console scripts like:
  59. # console_scripts =
  60. # script_name = rfidacd.module:function
  61. console_scripts =
  62. rfidacd = rfidacd.daemon:run
  63. [tool:pytest]
  64. # Specify command line options as you would do when invoking pytest directly.
  65. # e.g. --cov-report html (or xml) for html/xml output or --junitxml junit.xml
  66. # in order to write a coverage file that can be read by Jenkins.
  67. # CAUTION: --cov flags may prohibit setting breakpoints while debugging.
  68. # Comment those flags to avoid this py.test issue.
  69. addopts =
  70. --cov rfidacd --cov-report term-missing
  71. --verbose
  72. norecursedirs =
  73. dist
  74. build
  75. .tox
  76. testpaths = tests
  77. # Use pytest markers to select/deselect specific tests
  78. # markers =
  79. # slow: mark tests as slow (deselect with '-m "not slow"')
  80. # system: mark end-to-end system tests
  81. [bdist_wheel]
  82. # Use this option if your package is pure-python
  83. universal = 1
  84. [devpi:upload]
  85. # Options for the devpi: PyPI server and packaging tool
  86. # VCS export must be deactivated since we are using setuptools-scm
  87. no_vcs = 1
  88. formats = bdist_wheel
  89. [flake8]
  90. # Some sane defaults for the code style checker flake8
  91. max_line_length = 88
  92. extend_ignore = E203, W503
  93. # ^ Black-compatible
  94. # E203 and W503 have edge cases handled by black
  95. exclude =
  96. .tox
  97. build
  98. dist
  99. .eggs
  100. docs/conf.py
  101. [pyscaffold]
  102. # PyScaffold's parameters when the project was created.
  103. # This will be used when updating. Do not change!
  104. version = 4.0.1
  105. package = rfidacd
  106. extensions =