forked from conda/conda
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
58 lines (53 loc) · 1.82 KB
/
pyproject.toml
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
[tool.black]
line-length = 99
target-version = ['py37', 'py38', 'py39', 'py310']
extend-exclude = '''
^/(
conda/_vendor
| devenv
)/
'''
[tool.vendoring]
destination = "conda/_vendor/"
requirements = "conda/_vendor/vendor.txt"
namespace = "conda._vendor"
protected-files = ["__init__.py", "vendor.txt", "README.md"]
patches-dir = "tools/vendoring/patches"
[tool.vendoring.transformations]
substitute = []
drop = [
# contains unnecessary scripts
"bin/",
# remove unwanted modules
'^boltons/(cache|debug|depr|dict|easter|eco|exc|file|format|func|gc|io|iter|json|list|math|mbox|named|path|queue|socket|stats|str|table|tb||type|url)utils\.py',
"boltons/txurl_notes.md",
"cpuinfo/__main__.py",
"tlz/",
'^toolz/(_signatures|functoolz)\.py',
"toolz/curried",
"toolz/sandbox",
"toolz/tests",
'^tqdm/.*(gui|notebook|pandas)\.py',
'^tqdm/(_dist_ver|rich|keras|tk|dask)\.py',
'^tqdm/(completion\.sh|tqdm\.1)',
"tqdm/contrib",
]
[tool.vendoring.typing-stubs]
# prevent stubs from being generated
boltons = []
toolz = []
tqdm = []
appdirs = []
cpuinfo = []
distro = []
frozendict = []
six = []
[tool.vendoring.license.fallback-urls]
boltons = "https://raw.githubusercontent.com/mahmoud/boltons/master/LICENSE" # BSD
toolz = "https://raw.githubusercontent.com/pytoolz/toolz/master/LICENSE.txt" # BSD
tqdm = "https://raw.githubusercontent.com/tqdm/tqdm/master/LICENCE" # MPL, MIT
appdirs = "https://raw.githubusercontent.com/ActiveState/appdirs/master/LICENSE.txt" # MIT
cpuinfo = "https://raw.githubusercontent.com/workhorsy/py-cpuinfo/master/LICENSE" # MIT
distro = "https://raw.githubusercontent.com/python-distro/distro/master/LICENSE" # Apache
frozendict = "https://raw.githubusercontent.com/Marco-Sulla/python-frozendict/master/LICENSE.txt" # LGPL
six = "https://raw.githubusercontent.com/benjaminp/six/master/LICENSE" # MIT