|
| 1 | +[project] |
| 2 | +name = "ethology" |
| 3 | +authors = [{name = "Adam Tyson", email= "code@adamltyson.com"}] |
| 4 | +description = "Data processing tools for animal behavioural analysis" |
| 5 | +readme = "README.md" |
| 6 | +requires-python = ">=3.9.0" |
| 7 | +dynamic = ["version"] |
| 8 | + |
| 9 | +license = {text = "BSD-3-Clause"} |
| 10 | + |
| 11 | +classifiers = [ |
| 12 | + "Development Status :: 2 - Pre-Alpha", |
| 13 | + "Programming Language :: Python", |
| 14 | + "Programming Language :: Python :: 3", |
| 15 | + "Programming Language :: Python :: 3.9", |
| 16 | + "Programming Language :: Python :: 3.10", |
| 17 | + "Programming Language :: Python :: 3.11", |
| 18 | + "Operating System :: OS Independent", |
| 19 | + "License :: OSI Approved :: BSD License", |
| 20 | +] |
| 21 | + |
| 22 | +[project.urls] |
| 23 | +"Homepage" = "https://github.com/neuroinformatics-unit/ethology" |
| 24 | +"Bug Tracker" = "https://github.com/neuroinformatics-unit/ethology/issues" |
| 25 | +"Documentation" = "https://github.com/neuroinformatics-unit/ethology" |
| 26 | +"Source Code" = "https://github.com/neuroinformatics-unit/ethology" |
| 27 | +"User Support" = "https://github.com/neuroinformatics-unit/ethology/issues" |
| 28 | + |
| 29 | +[project.optional-dependencies] |
| 30 | +dev = [ |
| 31 | + "pytest", |
| 32 | + "pytest-cov", |
| 33 | + "coverage", |
| 34 | + "tox", |
| 35 | + "black", |
| 36 | + "mypy", |
| 37 | + "pre-commit", |
| 38 | + "ruff", |
| 39 | + "setuptools_scm", |
| 40 | +] |
| 41 | + |
| 42 | +[build-system] |
| 43 | +requires = [ |
| 44 | + "setuptools>=45", |
| 45 | + "wheel", |
| 46 | + "setuptools_scm[toml]>=6.2", |
| 47 | +] |
| 48 | +build-backend = "setuptools.build_meta" |
| 49 | + |
| 50 | +[tool.setuptools] |
| 51 | +include-package-data = true |
| 52 | + |
| 53 | +[tool.setuptools.packages.find] |
| 54 | +include = ["ethology*"] |
| 55 | +exclude = ["tests*"] |
| 56 | + |
| 57 | +[tool.pytest.ini_options] |
| 58 | +addopts = "--cov=ethology" |
| 59 | + |
| 60 | +[tool.black] |
| 61 | +target-version = ['py39', 'py310', 'py311'] |
| 62 | +skip-string-normalization = false |
| 63 | +line-length = 79 |
| 64 | + |
| 65 | +[tool.setuptools_scm] |
| 66 | + |
| 67 | +[tool.check-manifest] |
| 68 | +ignore = [ |
| 69 | + ".yaml", |
| 70 | + "tox.ini", |
| 71 | + "tests/", |
| 72 | + "tests/test_unit/", |
| 73 | + "tests/test_integration/", |
| 74 | +] |
| 75 | + |
| 76 | +[tool.ruff] |
| 77 | +line-length = 79 |
| 78 | +exclude = ["__init__.py","build",".eggs"] |
| 79 | +select = ["I", "E", "F"] |
| 80 | +fix = true |
| 81 | + |
| 82 | +[tool.tox] |
| 83 | +legacy_tox_ini = """ |
| 84 | +[tox] |
| 85 | +envlist = py{39,310,311} |
| 86 | +isolated_build = True |
| 87 | +
|
| 88 | +[gh-actions] |
| 89 | +python = |
| 90 | + 3.9: py39 |
| 91 | + 3.10: py310 |
| 92 | + 3.11: py311 |
| 93 | +
|
| 94 | +[testenv] |
| 95 | +extras = |
| 96 | + dev |
| 97 | +commands = |
| 98 | + pytest -v --color=yes --cov=ethology --cov-report=xml |
| 99 | +""" |
0 commit comments