aboutsummaryrefslogtreecommitdiffstats
path: root/setup.cfg
blob: 86d82ce3850595cf0f0ac9c2c68c398632714dec (plain) (blame)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[metadata]
name = git-deps
description = automatically detect dependencies between git commits
long_description = file: README.md
long_description_content_type = text/markdown
author = Adam Spiers
author_email = git@adamspiers.org
license = GPL-2+
home_page = https://github.com/aspiers/git-deps
description_file = README.md
classifier =
    Development Status :: 4 - Beta
    Environment :: Console
    Environment :: Web Environment
    Framework :: Flask
    Intended Audience :: Developers
    License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
    Natural Language :: English
    Operating System :: OS Independent
    Programming Language :: Python
    Topic :: Software Development :: Version Control
    Topic :: Utilities

[options]
packages =
    git_deps
install_requires =
    pygit2 >= 0.24.0
    flask
    sphinx
    pyscaffold

[options.extras_require]
testing =
    pytest-cov
    pytest
    flake8

[options.entry_points]
console_scripts =
    git-deps = git_deps.cli:run
    gitfile-handler = git_deps.handler:run

[files]
scripts =
    bin/git-fixup
data_files =
    share/git_deps = share/gitfile-handler.desktop

[tool:pytest]
addopts =
    tests
    --cov git_deps --cov-report term-missing
    --verbose

[aliases]
docs = build_sphinx

[bdist_wheel]
# Use this option if your package is pure-python
universal = 1

[build_sphinx]
source_dir = docs
build_dir = docs/_build

[pbr]
# Let pbr run sphinx-apidoc
autodoc_tree_index_modules = True
# autodoc_tree_excludes = ...
# Let pbr itself generate the apidoc
# autodoc_index_modules = True
# autodoc_exclude_modules = ...
# Convert warnings to errors
warnerrors = True

[devpi:upload]
# Options for the devpi: PyPI server and packaging tool
# VCS export must be deactivated since we are using setuptools-scm
no-vcs = 1
formats = bdist_wheel