forked from tomerfiliba/plumbum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
129 lines (111 loc) · 2.5 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[metadata]
name = plumbum
author = Tomer Filiba
author_email = [email protected]
license = MIT
description = Plumbum: shell combinators library
keywords =
path,
local,
remote,
ssh,
shell,
pipe,
popen,
process,
execution,
color,
cli
url = https://plumbum.readthedocs.io
long_description = file: README.rst
long_description_content_type = text/x-rst
license_file = LICENSE
classifiers =
Development Status :: 5 - Production/Stable
License :: OSI Approved :: MIT License
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Software Development :: Build Tools
Topic :: System :: Systems Administration
platforms = POSIX, Windows
provides = plumbum
[options]
python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4
packages = find:
install_requires =
pypiwin32; platform_system=='Windows' and platform_python_implementation!="PyPy"
[options.package_data]
plumbum.cli = i18n/*/LC_MESSAGES/*.mo
[options.extras_require]
ssh =
paramiko
dev =
pytest
pytest-cov
pytest-mock
pytest-timeout
paramiko
psutil
docs =
Sphinx >=3.0.0
sphinx_rtd_theme >=0.5.0
[bdist_wheel]
universal = 1
[tool:pytest]
addopts = -v -ra --cov-config=setup.cfg
norecursedirs = examples experiments
timeout = 300
[coverage:run]
branch = True
relative_files = True
source_pkgs =
plumbum
omit =
*ipython*.py
*__main__.py
*_windows.py
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
[mypy]
files = plumbum
python_version = 2.7
warn_unused_configs = True
warn_unused_ignores = True
[mypy-IPython.*]
ignore_missing_imports = True
[mypy-pywintypes.*]
ignore_missing_imports = True
[mypy-win32con.*]
ignore_missing_imports = True
[mypy-win32file.*]
ignore_missing_imports = True
[mypy-PIL.*]
ignore_missing_imports = True
[flake8]
max-complexity = 12
ignore = E203, E231, E501, E722, W503
select = C,E,F,W,B,B9
[tool:isort]
profile = black
multi_line_output = 3
[check-manifest]
ignore =
.*
docs/**
examples/*
experiments/*
conda.recipe/*
CONTRIBUTING.rst
# TODO: these .mo files should be generated