Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-search
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform
Development
swh-search
Merge requests
!149
Add the generated query_language/src/ dir in git
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add the generated query_language/src/ dir in git
douardda/swh-search:src-in-sdist
into
master
Overview
21
Commits
1
Pipelines
6
Changes
1
Merged
David Douard
requested to merge
douardda/swh-search:src-in-sdist
into
master
11 months ago
Overview
21
Commits
1
Pipelines
6
Changes
1
Expand
so it is actually included in the source package, as well as in editable (strict) install.
0
0
Merge request reports
Compare
master
version 5
0671b528
11 months ago
version 4
4c62e477
11 months ago
version 3
1aaa98bf
11 months ago
version 2
aaca678c
11 months ago
version 1
c8b05ced
11 months ago
master (base)
and
latest version
latest version
92917a17
1 commit,
11 months ago
version 5
0671b528
1 commit,
11 months ago
version 4
4c62e477
2 commits,
11 months ago
version 3
1aaa98bf
1 commit,
11 months ago
version 2
aaca678c
1 commit,
11 months ago
version 1
c8b05ced
1 commit,
11 months ago
1 file
+
21
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
setup.py
+
21
−
0
Options
@@ -100,6 +100,27 @@ class custom_build(build_py):
else
:
self
.
run_command
(
"
ts_build
"
)
def
get_output_mapping
(
self
):
output_mapping
=
super
().
get_output_mapping
()
for
fname
in
(
"
src/grammar.json
"
,
"
src/tree_sitter/parser.h
"
,
"
src/parser.c
"
,
"
src/node-types.json
"
,
):
output_mapping
[
f
"
{
self
.
build_lib
}
/
{
fname
}
"
]
=
fname
return
output_mapping
def
get_source_files
(
self
):
source_files
=
super
().
get_source_files
()
source_files
.
extend
(
[
"
swh/search/query_language/grammar.js
"
,
"
swh/search/query_language/token.js
"
,
]
)
return
source_files
class
custom_sdist
(
sdist
):
def
make_release_tree
(
self
,
base_dir
,
files
):
Loading