-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
60 lines (51 loc) · 1.11 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[metadata]
name = transformerkp
version = 0.0.1
url = https://github.com/Deep-Learning-for-Keyphrase/transformerkp
author = 'Debanjan Mahata, Amardeep Kumar'
author_email = '[email protected], [email protected]'
description = "Deep learning framework for transformer based keyphrase extraction and generation"
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
license_files = LICENSE
classifiers =
License :: OSI Approved :: MIT License
[options]
package_dir =
= src
packages = find:
include_package_data = True
[options.packages.find]
where = src
exclude =
test*
[tool:pytest]
testpaths =
tests
addopts =
--cov
[coverage:run]
branch = True
source = transformerkp
[coverage:report]
show_missing = True
skip_covered = True
[coverage:paths]
source =
src/transformerkp/
*/site-packages/transformerkp/
[tox:tox]
isolated_build = True
envlist = py37,py38
[testenv]
commands = pytest
deps =
pytest
pytest-cov
pytest-randomly
[typecheck]
commands = mypy --ignore-missing-imports {posargs:src tests}
deps =
pytest
mypy