This repository was archived by the owner on Jul 16, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +8
-72
lines changed Expand file tree Collapse file tree 10 files changed +8
-72
lines changed Original file line number Diff line number Diff line change 25
25
rm $(ls | grep wrapt) && pip download wrapt --platform=universal2 --only-binary=:all: && pip install $(ls | grep wrapt) --force-reinstall && cd .. &&
26
26
pip install --no-deps --no-index --find-links=pip-packages pip-packages/*
27
27
CMD_BUILD : >
28
- STATICCODECOV_LIB_PATH=$(find build/ -maxdepth 1 -type d -name 'lib.*' -print -quit | xargs -I {} sh -c "find {} -type f -name 'staticcodecov*' -print -quit | sed 's|^./||'") &&
29
- pyinstaller --add-binary ${STATICCODECOV_LIB_PATH}:. --copy-metadata codecov-cli --hidden-import staticcodecov_languages --target-arch universal2 -F codecov_cli/main.py &&
28
+ pyinstaller --copy-metadata codecov-cli --target-arch universal2 -F codecov_cli/main.py &&
30
29
mv dist/main dist/codecovcli_macos &&
31
30
lipo -archs dist/codecovcli_macos | grep 'x86_64 arm64'
32
31
OUT_FILE_NAME : codecovcli_macos
36
35
CMD_REQS : >
37
36
pip install -r requirements.txt && pip install .
38
37
CMD_BUILD : >
39
- STATICCODECOV_LIB_PATH=$(find build/ -maxdepth 1 -type d -name 'lib.*' -print -quit | xargs -I {} sh -c "find {} -type f -name 'staticcodecov*' -print -quit | sed 's|^./||'") &&
40
- pyinstaller --add-binary ${STATICCODECOV_LIB_PATH}:. --copy-metadata codecov-cli --hidden-import staticcodecov_languages -F codecov_cli/main.py &&
38
+ pyinstaller --copy-metadata codecov-cli -F codecov_cli/main.py &&
41
39
cp ./dist/main ./dist/codecovcli_linux
42
40
OUT_FILE_NAME : codecovcli_linux
43
41
ASSET_MIME : application/octet-stream
46
44
CMD_REQS : >
47
45
pip install -r requirements.txt && pip install .
48
46
CMD_BUILD : >
49
- pyinstaller --add-binary "build\lib.win-amd64-cpython-311\staticcodecov_languages.cp311-win_amd64.pyd;." -- copy-metadata codecov-cli --hidden-import staticcodecov_languages -F codecov_cli\main.py &&
47
+ pyinstaller --copy-metadata codecov-cli -F codecov_cli\main.py &&
50
48
Copy-Item -Path ".\dist\main.exe" -Destination ".\dist\codecovcli_windows.exe"
51
49
OUT_FILE_NAME : codecovcli_windows.exe
52
50
ASSET_MIME : application/vnd.microsoft.portable-executable
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ dependencies = [
19
19
" responses==0.21.*" ,
20
20
" sentry-sdk>=2.20.0" ,
21
21
" test-results-parser==0.5.4" ,
22
- " tree-sitter==0.20.*" ,
23
22
" wrapt>=1.17.2" ,
24
23
]
25
24
license = {file = " LICENSE" }
Original file line number Diff line number Diff line change 1
1
#
2
- # This file is autogenerated by pip-compile with Python 3.11
2
+ # This file is autogenerated by pip-compile with Python 3.12
3
3
# by the following command:
4
4
#
5
5
# pip-compile --all-build-deps --all-extras pyproject.toml
@@ -29,8 +29,6 @@ idna==3.10
29
29
# requests
30
30
ijson == 3.3.0
31
31
# via codecov-cli (pyproject.toml)
32
- packaging == 24.2
33
- # via setuptools-scm
34
32
pyyaml == 6.0.2
35
33
# via codecov-cli (pyproject.toml)
36
34
regex == 2024.11.6
@@ -41,16 +39,12 @@ responses==0.21.0
41
39
# via codecov-cli (pyproject.toml)
42
40
sentry-sdk == 2.20.0
43
41
# via codecov-cli (pyproject.toml)
44
- setuptools-scm == 8.1.0
45
- # via codecov-cli (pyproject.toml::build-system.requires)
46
42
sniffio == 1.3.1
47
43
# via
48
44
# anyio
49
45
# httpx
50
46
test-results-parser == 0.5.4
51
47
# via codecov-cli (pyproject.toml)
52
- tree-sitter == 0.20.4
53
- # via codecov-cli (pyproject.toml)
54
48
typing-extensions == 4.12.2
55
49
# via anyio
56
50
urllib3 == 2.3.0
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ apk add musl-dev build-base
3
3
pip install -r requirements.txt
4
4
pip install .
5
5
python setup.py build
6
- STATICCODECOV_LIB_PATH=$( find build/ -maxdepth 1 -type d -name ' lib.*' -print -quit | xargs -I {} sh -c " find {} -type f -name 'staticcodecov*' -print -quit | sed 's|^./||'" )
7
6
pip install pyinstaller
8
- pyinstaller --add-binary ${STATICCODECOV_LIB_PATH} :. -- copy-metadata codecov-cli --hidden-import staticcodecov_languages -F codecov_cli/main.py
7
+ pyinstaller --copy-metadata codecov-cli -F codecov_cli/main.py
9
8
cp ./dist/main ./dist/codecovcli_$1
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ apt install build-essential
3
3
pip install -r requirements.txt
4
4
pip install .
5
5
python setup.py build
6
- STATICCODECOV_LIB_PATH=$( find build/ -maxdepth 1 -type d -name ' lib.*' -print -quit | xargs -I {} sh -c " find {} -type f -name 'staticcodecov*' -print -quit | sed 's|^./||'" )
7
6
pip install pyinstaller
8
- pyinstaller --add-binary ${STATICCODECOV_LIB_PATH} :. -- copy-metadata codecov-cli --hidden-import staticcodecov_languages -F codecov_cli/main.py
7
+ pyinstaller --copy-metadata codecov-cli -F codecov_cli/main.py
9
8
cp ./dist/main ./dist/codecovcli_$1
Original file line number Diff line number Diff line change 1
- from platform import system
1
+ from setuptools import setup
2
2
3
- from setuptools import Extension , setup
4
-
5
- setup (
6
- ext_modules = [
7
- Extension (
8
- "staticcodecov_languages" ,
9
- [
10
- "languages/languages.c" ,
11
- "languages/treesitterpython/src/parser.c" ,
12
- "languages/treesitterjavascript/src/parser.c" ,
13
- "languages/treesitterpython/src/scanner.cc" ,
14
- "languages/treesitterjavascript/src/scanner.c" ,
15
- ],
16
- include_dirs = [
17
- "languages/treesitterpython/src" ,
18
- "languages/treesitterjavascript/src" ,
19
- "languages/treesitterjavascript/src/tree_sitter" ,
20
- "languages/treesitterpython/src/tree_sitter" ,
21
- ],
22
- extra_compile_args = (
23
- ["-Wno-unused-variable" ] if system () != "Windows" else None
24
- ),
25
- )
26
- ],
27
- )
3
+ setup ()
You can’t perform that action at this time.
0 commit comments