pex 2.58.1__py2.py3-none-any.whl → 2.59.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pex might be problematic. Click here for more details.
- pex/bin/pex.py +1 -0
- pex/cli/commands/venv.py +5 -1
- pex/dependency_configuration.py +6 -2
- pex/dist_metadata.py +30 -8
- pex/docs/html/_pagefind/fragment/en_1664623.pf_fragment +0 -0
- pex/docs/html/_pagefind/fragment/en_1ebfe82.pf_fragment +0 -0
- pex/docs/html/_pagefind/fragment/en_368bf05.pf_fragment +0 -0
- pex/docs/html/_pagefind/fragment/en_389a79a.pf_fragment +0 -0
- pex/docs/html/_pagefind/fragment/en_4c5cc0e.pf_fragment +0 -0
- pex/docs/html/_pagefind/fragment/en_92da226.pf_fragment +0 -0
- pex/docs/html/_pagefind/fragment/en_b99d99b.pf_fragment +0 -0
- pex/docs/html/_pagefind/fragment/en_eccd471.pf_fragment +0 -0
- pex/docs/html/_pagefind/index/en_106262d.pf_index +0 -0
- pex/docs/html/_pagefind/pagefind-entry.json +1 -1
- pex/docs/html/_pagefind/pagefind.en_1c6ca7a059.pf_meta +0 -0
- pex/docs/html/_static/documentation_options.js +1 -1
- pex/docs/html/_static/pygments.css +164 -146
- pex/docs/html/_static/styles/furo.css +1 -1
- pex/docs/html/_static/styles/furo.css.map +1 -1
- pex/docs/html/api/vars.html +25 -34
- pex/docs/html/buildingpex.html +25 -34
- pex/docs/html/genindex.html +24 -33
- pex/docs/html/index.html +25 -34
- pex/docs/html/recipes.html +25 -34
- pex/docs/html/scie.html +25 -34
- pex/docs/html/search.html +24 -33
- pex/docs/html/whatispex.html +25 -34
- pex/environment.py +17 -3
- pex/pep_425.py +11 -2
- pex/pep_427.py +218 -73
- pex/pip/installation.py +1 -1
- pex/pip/tool.py +1 -1
- pex/resolve/configured_resolve.py +20 -0
- pex/resolve/configured_resolver.py +7 -3
- pex/resolve/locked_resolve.py +5 -1
- pex/resolve/locker.py +3 -2
- pex/resolve/pex_repository_resolver.py +1 -1
- pex/resolve/resolver_configuration.py +17 -0
- pex/resolve/resolver_options.py +88 -16
- pex/resolve/resolvers.py +3 -0
- pex/resolve/target_options.py +18 -2
- pex/resolve/venv_resolver.py +446 -0
- pex/resolver.py +2 -4
- pex/targets.py +9 -4
- pex/vendor/__main__.py +1 -1
- pex/version.py +1 -1
- pex/wheel.py +89 -27
- {pex-2.58.1.dist-info → pex-2.59.1.dist-info}/METADATA +4 -4
- {pex-2.58.1.dist-info → pex-2.59.1.dist-info}/RECORD +54 -53
- pex/docs/html/_pagefind/fragment/en_1fd6283.pf_fragment +0 -0
- pex/docs/html/_pagefind/fragment/en_3981384.pf_fragment +0 -0
- pex/docs/html/_pagefind/fragment/en_5b3a816.pf_fragment +0 -0
- pex/docs/html/_pagefind/fragment/en_668cbbe.pf_fragment +0 -0
- pex/docs/html/_pagefind/fragment/en_69b66dc.pf_fragment +0 -0
- pex/docs/html/_pagefind/fragment/en_93e5ea3.pf_fragment +0 -0
- pex/docs/html/_pagefind/fragment/en_9ec1cdb.pf_fragment +0 -0
- pex/docs/html/_pagefind/fragment/en_edf644d.pf_fragment +0 -0
- pex/docs/html/_pagefind/index/en_b7cb935.pf_index +0 -0
- pex/docs/html/_pagefind/pagefind.en_bc4997bc6d.pf_meta +0 -0
- {pex-2.58.1.dist-info → pex-2.59.1.dist-info}/WHEEL +0 -0
- {pex-2.58.1.dist-info → pex-2.59.1.dist-info}/entry_points.txt +0 -0
- {pex-2.58.1.dist-info → pex-2.59.1.dist-info}/licenses/LICENSE +0 -0
- {pex-2.58.1.dist-info → pex-2.59.1.dist-info}/pylock/pylock.toml +0 -0
- {pex-2.58.1.dist-info → pex-2.59.1.dist-info}/top_level.txt +0 -0
pex/bin/pex.py
CHANGED
pex/cli/commands/venv.py
CHANGED
|
@@ -8,7 +8,7 @@ import logging
|
|
|
8
8
|
import os.path
|
|
9
9
|
from argparse import ArgumentParser, _ActionsContainer
|
|
10
10
|
|
|
11
|
-
from pex import pex_warnings
|
|
11
|
+
from pex import dependency_configuration, pex_warnings
|
|
12
12
|
from pex.cli.command import BuildTimeCommand
|
|
13
13
|
from pex.commands.command import JsonMixin, OutputMixin
|
|
14
14
|
from pex.common import CopyMode, open_zip, pluralize
|
|
@@ -123,8 +123,10 @@ class Venv(OutputMixin, JsonMixin, BuildTimeCommand):
|
|
|
123
123
|
include_pex_lock=True,
|
|
124
124
|
include_pylock=True,
|
|
125
125
|
include_pre_resolved=True,
|
|
126
|
+
include_venv_repository=True,
|
|
126
127
|
)
|
|
127
128
|
requirement_options.register(parser)
|
|
129
|
+
dependency_configuration.register(parser)
|
|
128
130
|
|
|
129
131
|
@classmethod
|
|
130
132
|
def add_extra_arguments(
|
|
@@ -285,11 +287,13 @@ class Venv(OutputMixin, JsonMixin, BuildTimeCommand):
|
|
|
285
287
|
)
|
|
286
288
|
|
|
287
289
|
requirement_configuration = requirement_options.configure(self.options)
|
|
290
|
+
dependency_config = dependency_configuration.configure(self.options)
|
|
288
291
|
with TRACER.timed("Resolving distributions"):
|
|
289
292
|
resolved = configured_resolve.resolve(
|
|
290
293
|
targets=targets,
|
|
291
294
|
requirement_configuration=requirement_configuration,
|
|
292
295
|
resolver_configuration=resolver_configuration,
|
|
296
|
+
dependency_configuration=dependency_config,
|
|
293
297
|
)
|
|
294
298
|
|
|
295
299
|
pex = None # type: Optional[PEX]
|
pex/dependency_configuration.py
CHANGED
|
@@ -141,8 +141,12 @@ class DependencyConfiguration(object):
|
|
|
141
141
|
# type: (Requirement) -> Tuple[Requirement, ...]
|
|
142
142
|
return self.overridden.get(requirement.project_name, ())
|
|
143
143
|
|
|
144
|
-
def overridden_by(
|
|
145
|
-
|
|
144
|
+
def overridden_by(
|
|
145
|
+
self,
|
|
146
|
+
requirement, # type: Requirement
|
|
147
|
+
target, # type: Target
|
|
148
|
+
):
|
|
149
|
+
# type: (...) -> Optional[Requirement]
|
|
146
150
|
overrides = self.overrides_for(requirement)
|
|
147
151
|
applicable_overrides = [
|
|
148
152
|
override for override in overrides if target.requirement_applies(override)
|
pex/dist_metadata.py
CHANGED
|
@@ -152,15 +152,24 @@ class DistMetadataFile(object):
|
|
|
152
152
|
version = attr.ib() # type: Version
|
|
153
153
|
pkg_info = attr.ib(eq=False) # type: Message
|
|
154
154
|
|
|
155
|
-
def
|
|
156
|
-
# type: () -> str
|
|
155
|
+
def render_metadata_file_description(self, metadata_file_rel_path):
|
|
156
|
+
# type: (Text) -> str
|
|
157
157
|
return "{project_name} {version} metadata from {rel_path} at {location}".format(
|
|
158
158
|
project_name=self.project_name,
|
|
159
159
|
version=self.version,
|
|
160
|
-
rel_path=
|
|
160
|
+
rel_path=metadata_file_rel_path,
|
|
161
161
|
location=self.location,
|
|
162
162
|
)
|
|
163
163
|
|
|
164
|
+
def render_description(self):
|
|
165
|
+
# type: () -> str
|
|
166
|
+
return self.render_metadata_file_description(self.rel_path)
|
|
167
|
+
|
|
168
|
+
@property
|
|
169
|
+
def path(self):
|
|
170
|
+
# type: () -> Text
|
|
171
|
+
return os.path.join(self.location, self.rel_path)
|
|
172
|
+
|
|
164
173
|
|
|
165
174
|
@attr.s(frozen=True)
|
|
166
175
|
class MetadataFiles(object):
|
|
@@ -182,6 +191,14 @@ class MetadataFiles(object):
|
|
|
182
191
|
return None
|
|
183
192
|
return self._read_function(rel_path)
|
|
184
193
|
|
|
194
|
+
def render_description(self, metadata_file_name):
|
|
195
|
+
# type: (Text) -> str
|
|
196
|
+
rel_path = self.metadata_file_rel_path(metadata_file_name)
|
|
197
|
+
return self.metadata.render_metadata_file_description(
|
|
198
|
+
rel_path
|
|
199
|
+
or "{metadata_file_name} not found".format(metadata_file_name=metadata_file_name)
|
|
200
|
+
)
|
|
201
|
+
|
|
185
202
|
|
|
186
203
|
class MetadataType(Enum["MetadataType.Value"]):
|
|
187
204
|
class Value(Enum.Value):
|
|
@@ -210,6 +227,15 @@ class MetadataKey(object):
|
|
|
210
227
|
location = attr.ib() # type: Text
|
|
211
228
|
|
|
212
229
|
|
|
230
|
+
def _read_function(
|
|
231
|
+
location, # type: Text
|
|
232
|
+
rel_path, # type: Text
|
|
233
|
+
):
|
|
234
|
+
# type: (...) -> bytes
|
|
235
|
+
with open(os.path.join(location, rel_path), "rb") as fp:
|
|
236
|
+
return fp.read()
|
|
237
|
+
|
|
238
|
+
|
|
213
239
|
def _find_installed_metadata_files(
|
|
214
240
|
location, # type: Text
|
|
215
241
|
metadata_type, # type: MetadataType.Value
|
|
@@ -218,6 +244,7 @@ def _find_installed_metadata_files(
|
|
|
218
244
|
):
|
|
219
245
|
# type: (...) -> Iterator[MetadataFiles]
|
|
220
246
|
metadata_files = glob.glob(os.path.join(location, metadata_dir_glob, metadata_file_name))
|
|
247
|
+
read_function = functools.partial(_read_function, location)
|
|
221
248
|
for path in metadata_files:
|
|
222
249
|
with open(path, "rb") as fp:
|
|
223
250
|
metadata = parse_message(fp.read())
|
|
@@ -225,11 +252,6 @@ def _find_installed_metadata_files(
|
|
|
225
252
|
source=path, pkg_info=metadata
|
|
226
253
|
)
|
|
227
254
|
|
|
228
|
-
def read_function(rel_path):
|
|
229
|
-
# type: (Text) -> bytes
|
|
230
|
-
with open(os.path.join(location, rel_path), "rb") as fp:
|
|
231
|
-
return fp.read()
|
|
232
|
-
|
|
233
255
|
yield MetadataFiles(
|
|
234
256
|
metadata=DistMetadataFile(
|
|
235
257
|
type=metadata_type,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.3.0","languages":{"en":{"hash":"
|
|
1
|
+
{"version":"1.3.0","languages":{"en":{"hash":"en_1c6ca7a059","wasm":"en","page_count":8}}}
|
|
Binary file
|
|
@@ -76,157 +76,175 @@
|
|
|
76
76
|
.highlight .il { color: #7F4707 } /* Literal.Number.Integer.Long */
|
|
77
77
|
@media not print {
|
|
78
78
|
body[data-theme="dark"] .highlight pre { line-height: 125%; }
|
|
79
|
-
body[data-theme="dark"] .highlight td.linenos .normal { color:
|
|
80
|
-
body[data-theme="dark"] .highlight span.linenos { color:
|
|
79
|
+
body[data-theme="dark"] .highlight td.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
|
80
|
+
body[data-theme="dark"] .highlight span.linenos { color: #aaaaaa; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
|
81
81
|
body[data-theme="dark"] .highlight td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
|
82
82
|
body[data-theme="dark"] .highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
|
83
|
-
body[data-theme="dark"] .highlight .hll { background-color: #
|
|
84
|
-
body[data-theme="dark"] .highlight { background: #
|
|
85
|
-
body[data-theme="dark"] .highlight .c { color: #
|
|
86
|
-
body[data-theme="dark"] .highlight .err { color: #
|
|
87
|
-
body[data-theme="dark"] .highlight .
|
|
88
|
-
body[data-theme="dark"] .highlight .
|
|
89
|
-
body[data-theme="dark"] .highlight .
|
|
90
|
-
body[data-theme="dark"] .highlight .
|
|
91
|
-
body[data-theme="dark"] .highlight .
|
|
92
|
-
body[data-theme="dark"] .highlight .
|
|
93
|
-
body[data-theme="dark"] .highlight .
|
|
94
|
-
body[data-theme="dark"] .highlight .
|
|
95
|
-
body[data-theme="dark"] .highlight .
|
|
96
|
-
body[data-theme="dark"] .highlight .
|
|
97
|
-
body[data-theme="dark"] .highlight .
|
|
98
|
-
body[data-theme="dark"] .highlight .
|
|
99
|
-
body[data-theme="dark"] .highlight .
|
|
100
|
-
body[data-theme="dark"] .highlight .
|
|
101
|
-
body[data-theme="dark"] .highlight .
|
|
102
|
-
body[data-theme="dark"] .highlight .
|
|
103
|
-
body[data-theme="dark"] .highlight .
|
|
104
|
-
body[data-theme="dark"] .highlight .
|
|
105
|
-
body[data-theme="dark"] .highlight .
|
|
106
|
-
body[data-theme="dark"] .highlight .
|
|
107
|
-
body[data-theme="dark"] .highlight .
|
|
108
|
-
body[data-theme="dark"] .highlight .
|
|
109
|
-
body[data-theme="dark"] .highlight .
|
|
110
|
-
body[data-theme="dark"] .highlight .
|
|
111
|
-
body[data-theme="dark"] .highlight .
|
|
112
|
-
body[data-theme="dark"] .highlight .
|
|
113
|
-
body[data-theme="dark"] .highlight .
|
|
114
|
-
body[data-theme="dark"] .highlight .
|
|
115
|
-
body[data-theme="dark"] .highlight .
|
|
116
|
-
body[data-theme="dark"] .highlight .
|
|
117
|
-
body[data-theme="dark"] .highlight .
|
|
118
|
-
body[data-theme="dark"] .highlight .
|
|
119
|
-
body[data-theme="dark"] .highlight .
|
|
120
|
-
body[data-theme="dark"] .highlight .
|
|
121
|
-
body[data-theme="dark"] .highlight .
|
|
122
|
-
body[data-theme="dark"] .highlight .
|
|
123
|
-
body[data-theme="dark"] .highlight .
|
|
124
|
-
body[data-theme="dark"] .highlight .
|
|
125
|
-
body[data-theme="dark"] .highlight .
|
|
126
|
-
body[data-theme="dark"] .highlight .
|
|
127
|
-
body[data-theme="dark"] .highlight .
|
|
128
|
-
body[data-theme="dark"] .highlight .
|
|
129
|
-
body[data-theme="dark"] .highlight .
|
|
130
|
-
body[data-theme="dark"] .highlight .
|
|
131
|
-
body[data-theme="dark"] .highlight .
|
|
132
|
-
body[data-theme="dark"] .highlight .
|
|
133
|
-
body[data-theme="dark"] .highlight .
|
|
134
|
-
body[data-theme="dark"] .highlight .
|
|
135
|
-
body[data-theme="dark"] .highlight .
|
|
136
|
-
body[data-theme="dark"] .highlight .
|
|
137
|
-
body[data-theme="dark"] .highlight .
|
|
138
|
-
body[data-theme="dark"] .highlight .
|
|
139
|
-
body[data-theme="dark"] .highlight .
|
|
140
|
-
body[data-theme="dark"] .highlight .
|
|
141
|
-
body[data-theme="dark"] .highlight .
|
|
142
|
-
body[data-theme="dark"] .highlight .
|
|
143
|
-
body[data-theme="dark"] .highlight .
|
|
144
|
-
body[data-theme="dark"] .highlight .
|
|
145
|
-
body[data-theme="dark"] .highlight .
|
|
146
|
-
body[data-theme="dark"] .highlight .
|
|
147
|
-
body[data-theme="dark"] .highlight .
|
|
148
|
-
body[data-theme="dark"] .highlight .
|
|
149
|
-
body[data-theme="dark"] .highlight .
|
|
150
|
-
body[data-theme="dark"] .highlight .
|
|
151
|
-
body[data-theme="dark"] .highlight .
|
|
152
|
-
body[data-theme="dark"] .highlight .
|
|
153
|
-
body[data-theme="dark"] .highlight .
|
|
83
|
+
body[data-theme="dark"] .highlight .hll { background-color: #404040 }
|
|
84
|
+
body[data-theme="dark"] .highlight { background: #202020; color: #D0D0D0 }
|
|
85
|
+
body[data-theme="dark"] .highlight .c { color: #ABABAB; font-style: italic } /* Comment */
|
|
86
|
+
body[data-theme="dark"] .highlight .err { color: #A61717; background-color: #E3D2D2 } /* Error */
|
|
87
|
+
body[data-theme="dark"] .highlight .esc { color: #D0D0D0 } /* Escape */
|
|
88
|
+
body[data-theme="dark"] .highlight .g { color: #D0D0D0 } /* Generic */
|
|
89
|
+
body[data-theme="dark"] .highlight .k { color: #6EBF26; font-weight: bold } /* Keyword */
|
|
90
|
+
body[data-theme="dark"] .highlight .l { color: #D0D0D0 } /* Literal */
|
|
91
|
+
body[data-theme="dark"] .highlight .n { color: #D0D0D0 } /* Name */
|
|
92
|
+
body[data-theme="dark"] .highlight .o { color: #D0D0D0 } /* Operator */
|
|
93
|
+
body[data-theme="dark"] .highlight .x { color: #D0D0D0 } /* Other */
|
|
94
|
+
body[data-theme="dark"] .highlight .p { color: #D0D0D0 } /* Punctuation */
|
|
95
|
+
body[data-theme="dark"] .highlight .ch { color: #ABABAB; font-style: italic } /* Comment.Hashbang */
|
|
96
|
+
body[data-theme="dark"] .highlight .cm { color: #ABABAB; font-style: italic } /* Comment.Multiline */
|
|
97
|
+
body[data-theme="dark"] .highlight .cp { color: #FF3A3A; font-weight: bold } /* Comment.Preproc */
|
|
98
|
+
body[data-theme="dark"] .highlight .cpf { color: #ABABAB; font-style: italic } /* Comment.PreprocFile */
|
|
99
|
+
body[data-theme="dark"] .highlight .c1 { color: #ABABAB; font-style: italic } /* Comment.Single */
|
|
100
|
+
body[data-theme="dark"] .highlight .cs { color: #E50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
|
|
101
|
+
body[data-theme="dark"] .highlight .gd { color: #FF3A3A } /* Generic.Deleted */
|
|
102
|
+
body[data-theme="dark"] .highlight .ge { color: #D0D0D0; font-style: italic } /* Generic.Emph */
|
|
103
|
+
body[data-theme="dark"] .highlight .ges { color: #D0D0D0; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
|
|
104
|
+
body[data-theme="dark"] .highlight .gr { color: #FF3A3A } /* Generic.Error */
|
|
105
|
+
body[data-theme="dark"] .highlight .gh { color: #FFF; font-weight: bold } /* Generic.Heading */
|
|
106
|
+
body[data-theme="dark"] .highlight .gi { color: #589819 } /* Generic.Inserted */
|
|
107
|
+
body[data-theme="dark"] .highlight .go { color: #CCC } /* Generic.Output */
|
|
108
|
+
body[data-theme="dark"] .highlight .gp { color: #AAA } /* Generic.Prompt */
|
|
109
|
+
body[data-theme="dark"] .highlight .gs { color: #D0D0D0; font-weight: bold } /* Generic.Strong */
|
|
110
|
+
body[data-theme="dark"] .highlight .gu { color: #FFF; text-decoration: underline } /* Generic.Subheading */
|
|
111
|
+
body[data-theme="dark"] .highlight .gt { color: #FF3A3A } /* Generic.Traceback */
|
|
112
|
+
body[data-theme="dark"] .highlight .kc { color: #6EBF26; font-weight: bold } /* Keyword.Constant */
|
|
113
|
+
body[data-theme="dark"] .highlight .kd { color: #6EBF26; font-weight: bold } /* Keyword.Declaration */
|
|
114
|
+
body[data-theme="dark"] .highlight .kn { color: #6EBF26; font-weight: bold } /* Keyword.Namespace */
|
|
115
|
+
body[data-theme="dark"] .highlight .kp { color: #6EBF26 } /* Keyword.Pseudo */
|
|
116
|
+
body[data-theme="dark"] .highlight .kr { color: #6EBF26; font-weight: bold } /* Keyword.Reserved */
|
|
117
|
+
body[data-theme="dark"] .highlight .kt { color: #6EBF26; font-weight: bold } /* Keyword.Type */
|
|
118
|
+
body[data-theme="dark"] .highlight .ld { color: #D0D0D0 } /* Literal.Date */
|
|
119
|
+
body[data-theme="dark"] .highlight .m { color: #51B2FD } /* Literal.Number */
|
|
120
|
+
body[data-theme="dark"] .highlight .s { color: #ED9D13 } /* Literal.String */
|
|
121
|
+
body[data-theme="dark"] .highlight .na { color: #BBB } /* Name.Attribute */
|
|
122
|
+
body[data-theme="dark"] .highlight .nb { color: #2FBCCD } /* Name.Builtin */
|
|
123
|
+
body[data-theme="dark"] .highlight .nc { color: #71ADFF; text-decoration: underline } /* Name.Class */
|
|
124
|
+
body[data-theme="dark"] .highlight .no { color: #40FFFF } /* Name.Constant */
|
|
125
|
+
body[data-theme="dark"] .highlight .nd { color: #FFA500 } /* Name.Decorator */
|
|
126
|
+
body[data-theme="dark"] .highlight .ni { color: #D0D0D0 } /* Name.Entity */
|
|
127
|
+
body[data-theme="dark"] .highlight .ne { color: #BBB } /* Name.Exception */
|
|
128
|
+
body[data-theme="dark"] .highlight .nf { color: #71ADFF } /* Name.Function */
|
|
129
|
+
body[data-theme="dark"] .highlight .nl { color: #D0D0D0 } /* Name.Label */
|
|
130
|
+
body[data-theme="dark"] .highlight .nn { color: #71ADFF; text-decoration: underline } /* Name.Namespace */
|
|
131
|
+
body[data-theme="dark"] .highlight .nx { color: #D0D0D0 } /* Name.Other */
|
|
132
|
+
body[data-theme="dark"] .highlight .py { color: #D0D0D0 } /* Name.Property */
|
|
133
|
+
body[data-theme="dark"] .highlight .nt { color: #6EBF26; font-weight: bold } /* Name.Tag */
|
|
134
|
+
body[data-theme="dark"] .highlight .nv { color: #40FFFF } /* Name.Variable */
|
|
135
|
+
body[data-theme="dark"] .highlight .ow { color: #6EBF26; font-weight: bold } /* Operator.Word */
|
|
136
|
+
body[data-theme="dark"] .highlight .pm { color: #D0D0D0 } /* Punctuation.Marker */
|
|
137
|
+
body[data-theme="dark"] .highlight .w { color: #666 } /* Text.Whitespace */
|
|
138
|
+
body[data-theme="dark"] .highlight .mb { color: #51B2FD } /* Literal.Number.Bin */
|
|
139
|
+
body[data-theme="dark"] .highlight .mf { color: #51B2FD } /* Literal.Number.Float */
|
|
140
|
+
body[data-theme="dark"] .highlight .mh { color: #51B2FD } /* Literal.Number.Hex */
|
|
141
|
+
body[data-theme="dark"] .highlight .mi { color: #51B2FD } /* Literal.Number.Integer */
|
|
142
|
+
body[data-theme="dark"] .highlight .mo { color: #51B2FD } /* Literal.Number.Oct */
|
|
143
|
+
body[data-theme="dark"] .highlight .sa { color: #ED9D13 } /* Literal.String.Affix */
|
|
144
|
+
body[data-theme="dark"] .highlight .sb { color: #ED9D13 } /* Literal.String.Backtick */
|
|
145
|
+
body[data-theme="dark"] .highlight .sc { color: #ED9D13 } /* Literal.String.Char */
|
|
146
|
+
body[data-theme="dark"] .highlight .dl { color: #ED9D13 } /* Literal.String.Delimiter */
|
|
147
|
+
body[data-theme="dark"] .highlight .sd { color: #ED9D13 } /* Literal.String.Doc */
|
|
148
|
+
body[data-theme="dark"] .highlight .s2 { color: #ED9D13 } /* Literal.String.Double */
|
|
149
|
+
body[data-theme="dark"] .highlight .se { color: #ED9D13 } /* Literal.String.Escape */
|
|
150
|
+
body[data-theme="dark"] .highlight .sh { color: #ED9D13 } /* Literal.String.Heredoc */
|
|
151
|
+
body[data-theme="dark"] .highlight .si { color: #ED9D13 } /* Literal.String.Interpol */
|
|
152
|
+
body[data-theme="dark"] .highlight .sx { color: #FFA500 } /* Literal.String.Other */
|
|
153
|
+
body[data-theme="dark"] .highlight .sr { color: #ED9D13 } /* Literal.String.Regex */
|
|
154
|
+
body[data-theme="dark"] .highlight .s1 { color: #ED9D13 } /* Literal.String.Single */
|
|
155
|
+
body[data-theme="dark"] .highlight .ss { color: #ED9D13 } /* Literal.String.Symbol */
|
|
156
|
+
body[data-theme="dark"] .highlight .bp { color: #2FBCCD } /* Name.Builtin.Pseudo */
|
|
157
|
+
body[data-theme="dark"] .highlight .fm { color: #71ADFF } /* Name.Function.Magic */
|
|
158
|
+
body[data-theme="dark"] .highlight .vc { color: #40FFFF } /* Name.Variable.Class */
|
|
159
|
+
body[data-theme="dark"] .highlight .vg { color: #40FFFF } /* Name.Variable.Global */
|
|
160
|
+
body[data-theme="dark"] .highlight .vi { color: #40FFFF } /* Name.Variable.Instance */
|
|
161
|
+
body[data-theme="dark"] .highlight .vm { color: #40FFFF } /* Name.Variable.Magic */
|
|
162
|
+
body[data-theme="dark"] .highlight .il { color: #51B2FD } /* Literal.Number.Integer.Long */
|
|
154
163
|
@media (prefers-color-scheme: dark) {
|
|
155
164
|
body:not([data-theme="light"]) .highlight pre { line-height: 125%; }
|
|
156
|
-
body:not([data-theme="light"]) .highlight td.linenos .normal { color:
|
|
157
|
-
body:not([data-theme="light"]) .highlight span.linenos { color:
|
|
165
|
+
body:not([data-theme="light"]) .highlight td.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
|
166
|
+
body:not([data-theme="light"]) .highlight span.linenos { color: #aaaaaa; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
|
158
167
|
body:not([data-theme="light"]) .highlight td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
|
159
168
|
body:not([data-theme="light"]) .highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
|
160
|
-
body:not([data-theme="light"]) .highlight .hll { background-color: #
|
|
161
|
-
body:not([data-theme="light"]) .highlight { background: #
|
|
162
|
-
body:not([data-theme="light"]) .highlight .c { color: #
|
|
163
|
-
body:not([data-theme="light"]) .highlight .err { color: #
|
|
164
|
-
body:not([data-theme="light"]) .highlight .
|
|
165
|
-
body:not([data-theme="light"]) .highlight .
|
|
166
|
-
body:not([data-theme="light"]) .highlight .
|
|
167
|
-
body:not([data-theme="light"]) .highlight .
|
|
168
|
-
body:not([data-theme="light"]) .highlight .
|
|
169
|
-
body:not([data-theme="light"]) .highlight .
|
|
170
|
-
body:not([data-theme="light"]) .highlight .
|
|
171
|
-
body:not([data-theme="light"]) .highlight .
|
|
172
|
-
body:not([data-theme="light"]) .highlight .
|
|
173
|
-
body:not([data-theme="light"]) .highlight .
|
|
174
|
-
body:not([data-theme="light"]) .highlight .
|
|
175
|
-
body:not([data-theme="light"]) .highlight .
|
|
176
|
-
body:not([data-theme="light"]) .highlight .
|
|
177
|
-
body:not([data-theme="light"]) .highlight .
|
|
178
|
-
body:not([data-theme="light"]) .highlight .
|
|
179
|
-
body:not([data-theme="light"]) .highlight .
|
|
180
|
-
body:not([data-theme="light"]) .highlight .
|
|
181
|
-
body:not([data-theme="light"]) .highlight .
|
|
182
|
-
body:not([data-theme="light"]) .highlight .
|
|
183
|
-
body:not([data-theme="light"]) .highlight .
|
|
184
|
-
body:not([data-theme="light"]) .highlight .
|
|
185
|
-
body:not([data-theme="light"]) .highlight .
|
|
186
|
-
body:not([data-theme="light"]) .highlight .
|
|
187
|
-
body:not([data-theme="light"]) .highlight .
|
|
188
|
-
body:not([data-theme="light"]) .highlight .
|
|
189
|
-
body:not([data-theme="light"]) .highlight .
|
|
190
|
-
body:not([data-theme="light"]) .highlight .
|
|
191
|
-
body:not([data-theme="light"]) .highlight .
|
|
192
|
-
body:not([data-theme="light"]) .highlight .
|
|
193
|
-
body:not([data-theme="light"]) .highlight .
|
|
194
|
-
body:not([data-theme="light"]) .highlight .
|
|
195
|
-
body:not([data-theme="light"]) .highlight .
|
|
196
|
-
body:not([data-theme="light"]) .highlight .
|
|
197
|
-
body:not([data-theme="light"]) .highlight .
|
|
198
|
-
body:not([data-theme="light"]) .highlight .
|
|
199
|
-
body:not([data-theme="light"]) .highlight .
|
|
200
|
-
body:not([data-theme="light"]) .highlight .
|
|
201
|
-
body:not([data-theme="light"]) .highlight .
|
|
202
|
-
body:not([data-theme="light"]) .highlight .
|
|
203
|
-
body:not([data-theme="light"]) .highlight .
|
|
204
|
-
body:not([data-theme="light"]) .highlight .
|
|
205
|
-
body:not([data-theme="light"]) .highlight .
|
|
206
|
-
body:not([data-theme="light"]) .highlight .
|
|
207
|
-
body:not([data-theme="light"]) .highlight .
|
|
208
|
-
body:not([data-theme="light"]) .highlight .
|
|
209
|
-
body:not([data-theme="light"]) .highlight .
|
|
210
|
-
body:not([data-theme="light"]) .highlight .
|
|
211
|
-
body:not([data-theme="light"]) .highlight .
|
|
212
|
-
body:not([data-theme="light"]) .highlight .
|
|
213
|
-
body:not([data-theme="light"]) .highlight .
|
|
214
|
-
body:not([data-theme="light"]) .highlight .
|
|
215
|
-
body:not([data-theme="light"]) .highlight .
|
|
216
|
-
body:not([data-theme="light"]) .highlight .
|
|
217
|
-
body:not([data-theme="light"]) .highlight .
|
|
218
|
-
body:not([data-theme="light"]) .highlight .
|
|
219
|
-
body:not([data-theme="light"]) .highlight .
|
|
220
|
-
body:not([data-theme="light"]) .highlight .
|
|
221
|
-
body:not([data-theme="light"]) .highlight .
|
|
222
|
-
body:not([data-theme="light"]) .highlight .
|
|
223
|
-
body:not([data-theme="light"]) .highlight .
|
|
224
|
-
body:not([data-theme="light"]) .highlight .
|
|
225
|
-
body:not([data-theme="light"]) .highlight .
|
|
226
|
-
body:not([data-theme="light"]) .highlight .
|
|
227
|
-
body:not([data-theme="light"]) .highlight .
|
|
228
|
-
body:not([data-theme="light"]) .highlight .
|
|
229
|
-
body:not([data-theme="light"]) .highlight .
|
|
230
|
-
body:not([data-theme="light"]) .highlight .
|
|
169
|
+
body:not([data-theme="light"]) .highlight .hll { background-color: #404040 }
|
|
170
|
+
body:not([data-theme="light"]) .highlight { background: #202020; color: #D0D0D0 }
|
|
171
|
+
body:not([data-theme="light"]) .highlight .c { color: #ABABAB; font-style: italic } /* Comment */
|
|
172
|
+
body:not([data-theme="light"]) .highlight .err { color: #A61717; background-color: #E3D2D2 } /* Error */
|
|
173
|
+
body:not([data-theme="light"]) .highlight .esc { color: #D0D0D0 } /* Escape */
|
|
174
|
+
body:not([data-theme="light"]) .highlight .g { color: #D0D0D0 } /* Generic */
|
|
175
|
+
body:not([data-theme="light"]) .highlight .k { color: #6EBF26; font-weight: bold } /* Keyword */
|
|
176
|
+
body:not([data-theme="light"]) .highlight .l { color: #D0D0D0 } /* Literal */
|
|
177
|
+
body:not([data-theme="light"]) .highlight .n { color: #D0D0D0 } /* Name */
|
|
178
|
+
body:not([data-theme="light"]) .highlight .o { color: #D0D0D0 } /* Operator */
|
|
179
|
+
body:not([data-theme="light"]) .highlight .x { color: #D0D0D0 } /* Other */
|
|
180
|
+
body:not([data-theme="light"]) .highlight .p { color: #D0D0D0 } /* Punctuation */
|
|
181
|
+
body:not([data-theme="light"]) .highlight .ch { color: #ABABAB; font-style: italic } /* Comment.Hashbang */
|
|
182
|
+
body:not([data-theme="light"]) .highlight .cm { color: #ABABAB; font-style: italic } /* Comment.Multiline */
|
|
183
|
+
body:not([data-theme="light"]) .highlight .cp { color: #FF3A3A; font-weight: bold } /* Comment.Preproc */
|
|
184
|
+
body:not([data-theme="light"]) .highlight .cpf { color: #ABABAB; font-style: italic } /* Comment.PreprocFile */
|
|
185
|
+
body:not([data-theme="light"]) .highlight .c1 { color: #ABABAB; font-style: italic } /* Comment.Single */
|
|
186
|
+
body:not([data-theme="light"]) .highlight .cs { color: #E50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
|
|
187
|
+
body:not([data-theme="light"]) .highlight .gd { color: #FF3A3A } /* Generic.Deleted */
|
|
188
|
+
body:not([data-theme="light"]) .highlight .ge { color: #D0D0D0; font-style: italic } /* Generic.Emph */
|
|
189
|
+
body:not([data-theme="light"]) .highlight .ges { color: #D0D0D0; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
|
|
190
|
+
body:not([data-theme="light"]) .highlight .gr { color: #FF3A3A } /* Generic.Error */
|
|
191
|
+
body:not([data-theme="light"]) .highlight .gh { color: #FFF; font-weight: bold } /* Generic.Heading */
|
|
192
|
+
body:not([data-theme="light"]) .highlight .gi { color: #589819 } /* Generic.Inserted */
|
|
193
|
+
body:not([data-theme="light"]) .highlight .go { color: #CCC } /* Generic.Output */
|
|
194
|
+
body:not([data-theme="light"]) .highlight .gp { color: #AAA } /* Generic.Prompt */
|
|
195
|
+
body:not([data-theme="light"]) .highlight .gs { color: #D0D0D0; font-weight: bold } /* Generic.Strong */
|
|
196
|
+
body:not([data-theme="light"]) .highlight .gu { color: #FFF; text-decoration: underline } /* Generic.Subheading */
|
|
197
|
+
body:not([data-theme="light"]) .highlight .gt { color: #FF3A3A } /* Generic.Traceback */
|
|
198
|
+
body:not([data-theme="light"]) .highlight .kc { color: #6EBF26; font-weight: bold } /* Keyword.Constant */
|
|
199
|
+
body:not([data-theme="light"]) .highlight .kd { color: #6EBF26; font-weight: bold } /* Keyword.Declaration */
|
|
200
|
+
body:not([data-theme="light"]) .highlight .kn { color: #6EBF26; font-weight: bold } /* Keyword.Namespace */
|
|
201
|
+
body:not([data-theme="light"]) .highlight .kp { color: #6EBF26 } /* Keyword.Pseudo */
|
|
202
|
+
body:not([data-theme="light"]) .highlight .kr { color: #6EBF26; font-weight: bold } /* Keyword.Reserved */
|
|
203
|
+
body:not([data-theme="light"]) .highlight .kt { color: #6EBF26; font-weight: bold } /* Keyword.Type */
|
|
204
|
+
body:not([data-theme="light"]) .highlight .ld { color: #D0D0D0 } /* Literal.Date */
|
|
205
|
+
body:not([data-theme="light"]) .highlight .m { color: #51B2FD } /* Literal.Number */
|
|
206
|
+
body:not([data-theme="light"]) .highlight .s { color: #ED9D13 } /* Literal.String */
|
|
207
|
+
body:not([data-theme="light"]) .highlight .na { color: #BBB } /* Name.Attribute */
|
|
208
|
+
body:not([data-theme="light"]) .highlight .nb { color: #2FBCCD } /* Name.Builtin */
|
|
209
|
+
body:not([data-theme="light"]) .highlight .nc { color: #71ADFF; text-decoration: underline } /* Name.Class */
|
|
210
|
+
body:not([data-theme="light"]) .highlight .no { color: #40FFFF } /* Name.Constant */
|
|
211
|
+
body:not([data-theme="light"]) .highlight .nd { color: #FFA500 } /* Name.Decorator */
|
|
212
|
+
body:not([data-theme="light"]) .highlight .ni { color: #D0D0D0 } /* Name.Entity */
|
|
213
|
+
body:not([data-theme="light"]) .highlight .ne { color: #BBB } /* Name.Exception */
|
|
214
|
+
body:not([data-theme="light"]) .highlight .nf { color: #71ADFF } /* Name.Function */
|
|
215
|
+
body:not([data-theme="light"]) .highlight .nl { color: #D0D0D0 } /* Name.Label */
|
|
216
|
+
body:not([data-theme="light"]) .highlight .nn { color: #71ADFF; text-decoration: underline } /* Name.Namespace */
|
|
217
|
+
body:not([data-theme="light"]) .highlight .nx { color: #D0D0D0 } /* Name.Other */
|
|
218
|
+
body:not([data-theme="light"]) .highlight .py { color: #D0D0D0 } /* Name.Property */
|
|
219
|
+
body:not([data-theme="light"]) .highlight .nt { color: #6EBF26; font-weight: bold } /* Name.Tag */
|
|
220
|
+
body:not([data-theme="light"]) .highlight .nv { color: #40FFFF } /* Name.Variable */
|
|
221
|
+
body:not([data-theme="light"]) .highlight .ow { color: #6EBF26; font-weight: bold } /* Operator.Word */
|
|
222
|
+
body:not([data-theme="light"]) .highlight .pm { color: #D0D0D0 } /* Punctuation.Marker */
|
|
223
|
+
body:not([data-theme="light"]) .highlight .w { color: #666 } /* Text.Whitespace */
|
|
224
|
+
body:not([data-theme="light"]) .highlight .mb { color: #51B2FD } /* Literal.Number.Bin */
|
|
225
|
+
body:not([data-theme="light"]) .highlight .mf { color: #51B2FD } /* Literal.Number.Float */
|
|
226
|
+
body:not([data-theme="light"]) .highlight .mh { color: #51B2FD } /* Literal.Number.Hex */
|
|
227
|
+
body:not([data-theme="light"]) .highlight .mi { color: #51B2FD } /* Literal.Number.Integer */
|
|
228
|
+
body:not([data-theme="light"]) .highlight .mo { color: #51B2FD } /* Literal.Number.Oct */
|
|
229
|
+
body:not([data-theme="light"]) .highlight .sa { color: #ED9D13 } /* Literal.String.Affix */
|
|
230
|
+
body:not([data-theme="light"]) .highlight .sb { color: #ED9D13 } /* Literal.String.Backtick */
|
|
231
|
+
body:not([data-theme="light"]) .highlight .sc { color: #ED9D13 } /* Literal.String.Char */
|
|
232
|
+
body:not([data-theme="light"]) .highlight .dl { color: #ED9D13 } /* Literal.String.Delimiter */
|
|
233
|
+
body:not([data-theme="light"]) .highlight .sd { color: #ED9D13 } /* Literal.String.Doc */
|
|
234
|
+
body:not([data-theme="light"]) .highlight .s2 { color: #ED9D13 } /* Literal.String.Double */
|
|
235
|
+
body:not([data-theme="light"]) .highlight .se { color: #ED9D13 } /* Literal.String.Escape */
|
|
236
|
+
body:not([data-theme="light"]) .highlight .sh { color: #ED9D13 } /* Literal.String.Heredoc */
|
|
237
|
+
body:not([data-theme="light"]) .highlight .si { color: #ED9D13 } /* Literal.String.Interpol */
|
|
238
|
+
body:not([data-theme="light"]) .highlight .sx { color: #FFA500 } /* Literal.String.Other */
|
|
239
|
+
body:not([data-theme="light"]) .highlight .sr { color: #ED9D13 } /* Literal.String.Regex */
|
|
240
|
+
body:not([data-theme="light"]) .highlight .s1 { color: #ED9D13 } /* Literal.String.Single */
|
|
241
|
+
body:not([data-theme="light"]) .highlight .ss { color: #ED9D13 } /* Literal.String.Symbol */
|
|
242
|
+
body:not([data-theme="light"]) .highlight .bp { color: #2FBCCD } /* Name.Builtin.Pseudo */
|
|
243
|
+
body:not([data-theme="light"]) .highlight .fm { color: #71ADFF } /* Name.Function.Magic */
|
|
244
|
+
body:not([data-theme="light"]) .highlight .vc { color: #40FFFF } /* Name.Variable.Class */
|
|
245
|
+
body:not([data-theme="light"]) .highlight .vg { color: #40FFFF } /* Name.Variable.Global */
|
|
246
|
+
body:not([data-theme="light"]) .highlight .vi { color: #40FFFF } /* Name.Variable.Instance */
|
|
247
|
+
body:not([data-theme="light"]) .highlight .vm { color: #40FFFF } /* Name.Variable.Magic */
|
|
248
|
+
body:not([data-theme="light"]) .highlight .il { color: #51B2FD } /* Literal.Number.Integer.Long */
|
|
231
249
|
}
|
|
232
250
|
}
|