FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/python/extractor/BUILD.bazel at codeql-cli-2.19.2 · github/codeql · GitHub
github
/
codeql
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
10.1k
Code
Issues
1k
Pull requests
469
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
python
/
extractor
/
BUILD.bazel
Copy path
More file actions
More file actions
Latest commit
History
History
History
49 lines (46 loc) · 1.17 KB
Breadcrumbs
codeql
/
python
/
extractor
/
BUILD.bazel
Copy path
File metadata and controls
49 lines (46 loc) · 1.17 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
load
(
"//misc/bazel:pkg.bzl"
,
"codeql_pkg_files"
,
"strip_prefix"
)
py_binary
(
name
=
"make-zips-py"
,
srcs
=
[
"make_zips.py"
,
"python_tracer.py"
,
],
data
=
[
"LICENSE-PSF.md"
,
"__main__.py"
,
"imp.py"
,
]
+
glob
([
"blib2to3/**"
,
"buildtools/**"
,
"lark/**"
,
"semmle/**"
,
]),
# On @criemen's machine, without this, make-zips.py can't find its imports from
# python_tracer. The problem didn't show for some reason on Windows CI machines, though.
imports
=
[
"."
],
main
=
"make_zips.py"
,
)
genrule
(
name
=
"python3src"
,
outs
=
[
"python3src.zip"
,
],
cmd
=
"PYTHON_INSTALLER_OUTPUT=
\"
$(RULEDIR)
\"
$(location :make-zips-py)"
,
tools
=
[
":make-zips-py"
],
)
codeql_pkg_files
(
name
=
"extractor"
,
srcs
=
[
"LICENSE-PSF.md"
,
# because we distribute imp.py
"convert_setup.py"
,
"get_venv_lib.py"
,
"imp.py"
,
"index.py"
,
"python_tracer.py"
,
"setup.py"
,
":python3src"
,
]
+
glob
([
"data/**"
]),
prefix
=
"tools"
,
strip_prefix
=
strip_prefix
.
from_pkg
(),
visibility
=
[
"//python:__pkg__"
],
)
Back
|
FazBrowse Home
|
New Git URL