auditwheel-emscripten 0.0.11__tar.gz → 0.0.13__tar.gz
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.
- auditwheel_emscripten-0.0.13/.flake8 +4 -0
- auditwheel_emscripten-0.0.13/.github/workflows/deploy.yml +32 -0
- auditwheel_emscripten-0.0.13/.github/workflows/test.yml +25 -0
- auditwheel_emscripten-0.0.13/.gitignore +224 -0
- auditwheel_emscripten-0.0.13/.pre-commit-config.yaml +57 -0
- auditwheel_emscripten-0.0.13/CHANGELOG.md +45 -0
- auditwheel_emscripten-0.0.13/LICENSE +373 -0
- auditwheel_emscripten-0.0.13/PKG-INFO +510 -0
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/__init__.py +0 -1
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/exports.py +3 -3
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/imports.py +3 -3
- auditwheel_emscripten-0.0.13/auditwheel_emscripten/py.typed +0 -0
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/show.py +3 -3
- auditwheel_emscripten-0.0.13/auditwheel_emscripten/wasm_utils.py +9 -0
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/pyproject.toml +7 -3
- auditwheel_emscripten-0.0.13/test/paths.py +12 -0
- auditwheel_emscripten-0.0.13/test/test_data/Shapely-1.8.2-cp310-cp310-emscripten_3_1_14_wasm32.whl +0 -0
- auditwheel_emscripten-0.0.13/test/test_data/elf +0 -0
- auditwheel_emscripten-0.0.13/test/test_data/galpy-1.8.0-cp310-cp310-emscripten_3_1_14_wasm32.whl +0 -0
- auditwheel_emscripten-0.0.13/test/test_data/libcrypto.so +0 -0
- auditwheel_emscripten-0.0.13/test/test_data/libgeos.so +0 -0
- auditwheel_emscripten-0.0.13/test/test_data/libgeos.so.3.10.3 +0 -0
- auditwheel_emscripten-0.0.13/test/test_data/libgeos_c.so +0 -0
- auditwheel_emscripten-0.0.13/test/test_data/libgeos_c.so.1 +0 -0
- auditwheel_emscripten-0.0.13/test/test_data/libgeos_c.so.1.16.1 +0 -0
- auditwheel_emscripten-0.0.13/test/test_data/libgeos_c.wasm +0 -0
- auditwheel_emscripten-0.0.13/test/test_data/libssl.so +0 -0
- auditwheel_emscripten-0.0.13/test/test_data/numpy-1.22.4-cp310-cp310-emscripten_3_1_14_wasm32.whl +0 -0
- auditwheel_emscripten-0.0.13/test/test_exports.py +31 -0
- auditwheel_emscripten-0.0.13/test/test_function_type.py +60 -0
- auditwheel_emscripten-0.0.13/test/test_imports.py +32 -0
- auditwheel_emscripten-0.0.13/test/test_repair.py +76 -0
- auditwheel_emscripten-0.0.13/test/test_show.py +66 -0
- auditwheel_emscripten-0.0.13/test/test_utils.py +15 -0
- auditwheel_emscripten-0.0.11/PKG-INFO +0 -137
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/README.md +0 -0
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/cli/__init__.py +0 -0
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/cli/main.py +0 -0
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/emscripten_tools/__init__.py +0 -0
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/emscripten_tools/diagnostics.py +0 -0
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/emscripten_tools/utils.py +0 -0
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/emscripten_tools/webassembly.py +0 -0
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/function_type.py +0 -0
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/lib_utils.py +0 -0
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/module.py +0 -0
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/repair.py +0 -0
- {auditwheel_emscripten-0.0.11 → auditwheel_emscripten-0.0.13}/auditwheel_emscripten/wheel_utils.py +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
name: deploy
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
contents: read
|
|
8
|
+
|
|
9
|
+
concurrency:
|
|
10
|
+
group: main-${{ github.head_ref || github.run_id }}
|
|
11
|
+
cancel-in-progress: true
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
deploy:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
|
17
|
+
environment: PyPi-deploy
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v3
|
|
20
|
+
|
|
21
|
+
- uses: actions/setup-python@v3
|
|
22
|
+
|
|
23
|
+
- name: Install requirements and build wheel
|
|
24
|
+
shell: bash -l {0}
|
|
25
|
+
run: |
|
|
26
|
+
python -m pip install build twine
|
|
27
|
+
python -m build .
|
|
28
|
+
- name: Publish package
|
|
29
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
30
|
+
with:
|
|
31
|
+
user: __token__
|
|
32
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
name: test
|
|
2
|
+
|
|
3
|
+
on: [push]
|
|
4
|
+
|
|
5
|
+
permissions:
|
|
6
|
+
contents: read
|
|
7
|
+
|
|
8
|
+
concurrency:
|
|
9
|
+
group: main-${{ github.head_ref || github.run_id }}
|
|
10
|
+
cancel-in-progress: true
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
test:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v3
|
|
17
|
+
- uses: actions/setup-python@v3
|
|
18
|
+
with:
|
|
19
|
+
python-version: "3.10"
|
|
20
|
+
- name: Install dependencies
|
|
21
|
+
run: |
|
|
22
|
+
python3 -m pip install -e .[test]
|
|
23
|
+
- name: Run tests
|
|
24
|
+
run: |
|
|
25
|
+
pytest -v
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
# Created by https://www.toptal.com/developers/gitignore/api/python,visualstudiocode,git,linux
|
|
2
|
+
# Edit at https://www.toptal.com/developers/gitignore?templates=python,visualstudiocode,git,linux
|
|
3
|
+
|
|
4
|
+
### Git ###
|
|
5
|
+
# Created by git for backups. To disable backups in Git:
|
|
6
|
+
# $ git config --global mergetool.keepBackup false
|
|
7
|
+
*.orig
|
|
8
|
+
|
|
9
|
+
# Created by git when using merge tools for conflicts
|
|
10
|
+
*.BACKUP.*
|
|
11
|
+
*.BASE.*
|
|
12
|
+
*.LOCAL.*
|
|
13
|
+
*.REMOTE.*
|
|
14
|
+
*_BACKUP_*.txt
|
|
15
|
+
*_BASE_*.txt
|
|
16
|
+
*_LOCAL_*.txt
|
|
17
|
+
*_REMOTE_*.txt
|
|
18
|
+
|
|
19
|
+
### Linux ###
|
|
20
|
+
*~
|
|
21
|
+
|
|
22
|
+
# temporary files which can be created if a process still has a handle open of a deleted file
|
|
23
|
+
.fuse_hidden*
|
|
24
|
+
|
|
25
|
+
# KDE directory preferences
|
|
26
|
+
.directory
|
|
27
|
+
|
|
28
|
+
# Linux trash folder which might appear on any partition or disk
|
|
29
|
+
.Trash-*
|
|
30
|
+
|
|
31
|
+
# .nfs files are created when an open file is removed but is still being accessed
|
|
32
|
+
.nfs*
|
|
33
|
+
|
|
34
|
+
### Python ###
|
|
35
|
+
# Byte-compiled / optimized / DLL files
|
|
36
|
+
__pycache__/
|
|
37
|
+
*.py[cod]
|
|
38
|
+
*$py.class
|
|
39
|
+
|
|
40
|
+
# C extensions
|
|
41
|
+
# *.so
|
|
42
|
+
|
|
43
|
+
# Distribution / packaging
|
|
44
|
+
.Python
|
|
45
|
+
build/
|
|
46
|
+
develop-eggs/
|
|
47
|
+
dist/
|
|
48
|
+
downloads/
|
|
49
|
+
eggs/
|
|
50
|
+
.eggs/
|
|
51
|
+
lib/
|
|
52
|
+
lib64/
|
|
53
|
+
parts/
|
|
54
|
+
sdist/
|
|
55
|
+
var/
|
|
56
|
+
wheels/
|
|
57
|
+
share/python-wheels/
|
|
58
|
+
*.egg-info/
|
|
59
|
+
.installed.cfg
|
|
60
|
+
*.egg
|
|
61
|
+
MANIFEST
|
|
62
|
+
|
|
63
|
+
# PyInstaller
|
|
64
|
+
# Usually these files are written by a python script from a template
|
|
65
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
66
|
+
*.manifest
|
|
67
|
+
*.spec
|
|
68
|
+
|
|
69
|
+
# Installer logs
|
|
70
|
+
pip-log.txt
|
|
71
|
+
pip-delete-this-directory.txt
|
|
72
|
+
|
|
73
|
+
# Unit test / coverage reports
|
|
74
|
+
htmlcov/
|
|
75
|
+
.tox/
|
|
76
|
+
.nox/
|
|
77
|
+
.coverage
|
|
78
|
+
.coverage.*
|
|
79
|
+
.cache
|
|
80
|
+
nosetests.xml
|
|
81
|
+
coverage.xml
|
|
82
|
+
*.cover
|
|
83
|
+
*.py,cover
|
|
84
|
+
.hypothesis/
|
|
85
|
+
.pytest_cache/
|
|
86
|
+
cover/
|
|
87
|
+
|
|
88
|
+
# Translations
|
|
89
|
+
*.mo
|
|
90
|
+
*.pot
|
|
91
|
+
|
|
92
|
+
# Django stuff:
|
|
93
|
+
*.log
|
|
94
|
+
local_settings.py
|
|
95
|
+
db.sqlite3
|
|
96
|
+
db.sqlite3-journal
|
|
97
|
+
|
|
98
|
+
# Flask stuff:
|
|
99
|
+
instance/
|
|
100
|
+
.webassets-cache
|
|
101
|
+
|
|
102
|
+
# Scrapy stuff:
|
|
103
|
+
.scrapy
|
|
104
|
+
|
|
105
|
+
# Sphinx documentation
|
|
106
|
+
docs/_build/
|
|
107
|
+
|
|
108
|
+
# PyBuilder
|
|
109
|
+
.pybuilder/
|
|
110
|
+
target/
|
|
111
|
+
|
|
112
|
+
# Jupyter Notebook
|
|
113
|
+
.ipynb_checkpoints
|
|
114
|
+
|
|
115
|
+
# IPython
|
|
116
|
+
profile_default/
|
|
117
|
+
ipython_config.py
|
|
118
|
+
|
|
119
|
+
# pyenv
|
|
120
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
121
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
122
|
+
# .python-version
|
|
123
|
+
|
|
124
|
+
# pipenv
|
|
125
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
126
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
127
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
128
|
+
# install all needed dependencies.
|
|
129
|
+
#Pipfile.lock
|
|
130
|
+
|
|
131
|
+
# poetry
|
|
132
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
133
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
134
|
+
# commonly ignored for libraries.
|
|
135
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
136
|
+
#poetry.lock
|
|
137
|
+
|
|
138
|
+
# pdm
|
|
139
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
140
|
+
#pdm.lock
|
|
141
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
142
|
+
# in version control.
|
|
143
|
+
# https://pdm.fming.dev/#use-with-ide
|
|
144
|
+
.pdm.toml
|
|
145
|
+
|
|
146
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
147
|
+
__pypackages__/
|
|
148
|
+
|
|
149
|
+
# Celery stuff
|
|
150
|
+
celerybeat-schedule
|
|
151
|
+
celerybeat.pid
|
|
152
|
+
|
|
153
|
+
# SageMath parsed files
|
|
154
|
+
*.sage.py
|
|
155
|
+
|
|
156
|
+
# Environments
|
|
157
|
+
.env
|
|
158
|
+
.venv
|
|
159
|
+
env/
|
|
160
|
+
venv/
|
|
161
|
+
ENV/
|
|
162
|
+
env.bak/
|
|
163
|
+
venv.bak/
|
|
164
|
+
|
|
165
|
+
# Spyder project settings
|
|
166
|
+
.spyderproject
|
|
167
|
+
.spyproject
|
|
168
|
+
|
|
169
|
+
# Rope project settings
|
|
170
|
+
.ropeproject
|
|
171
|
+
|
|
172
|
+
# mkdocs documentation
|
|
173
|
+
/site
|
|
174
|
+
|
|
175
|
+
# mypy
|
|
176
|
+
.mypy_cache/
|
|
177
|
+
.dmypy.json
|
|
178
|
+
dmypy.json
|
|
179
|
+
|
|
180
|
+
# Pyre type checker
|
|
181
|
+
.pyre/
|
|
182
|
+
|
|
183
|
+
# pytype static type analyzer
|
|
184
|
+
.pytype/
|
|
185
|
+
|
|
186
|
+
# Cython debug symbols
|
|
187
|
+
cython_debug/
|
|
188
|
+
|
|
189
|
+
# PyCharm
|
|
190
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
191
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
192
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
193
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
194
|
+
#.idea/
|
|
195
|
+
|
|
196
|
+
### VisualStudioCode ###
|
|
197
|
+
.vscode/*
|
|
198
|
+
!.vscode/settings.json
|
|
199
|
+
!.vscode/tasks.json
|
|
200
|
+
!.vscode/launch.json
|
|
201
|
+
!.vscode/extensions.json
|
|
202
|
+
!.vscode/*.code-snippets
|
|
203
|
+
|
|
204
|
+
# Local History for Visual Studio Code
|
|
205
|
+
.history/
|
|
206
|
+
|
|
207
|
+
# Built Visual Studio Code Extensions
|
|
208
|
+
*.vsix
|
|
209
|
+
|
|
210
|
+
### VisualStudioCode Patch ###
|
|
211
|
+
# Ignore all local history of files
|
|
212
|
+
.history
|
|
213
|
+
.ionide
|
|
214
|
+
|
|
215
|
+
# Support for Project snippet scope
|
|
216
|
+
.vscode/*.code-snippets
|
|
217
|
+
|
|
218
|
+
# Ignore code-workspaces
|
|
219
|
+
*.code-workspace
|
|
220
|
+
|
|
221
|
+
# End of https://www.toptal.com/developers/gitignore/api/python,visualstudiocode,git,linux
|
|
222
|
+
|
|
223
|
+
# pyenv
|
|
224
|
+
.python-version
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
exclude: (^auditwheel_emscripten/emscripten_tools/)
|
|
2
|
+
default_language_version:
|
|
3
|
+
python: "3.11"
|
|
4
|
+
repos:
|
|
5
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
6
|
+
rev: "v4.4.0"
|
|
7
|
+
hooks:
|
|
8
|
+
- id: check-case-conflict
|
|
9
|
+
- id: check-merge-conflict
|
|
10
|
+
- id: check-symlinks
|
|
11
|
+
- id: check-yaml
|
|
12
|
+
exclude: .clang-format
|
|
13
|
+
- id: debug-statements
|
|
14
|
+
- id: end-of-file-fixer
|
|
15
|
+
- id: mixed-line-ending
|
|
16
|
+
- id: trailing-whitespace
|
|
17
|
+
|
|
18
|
+
- repo: https://github.com/asottile/pyupgrade
|
|
19
|
+
rev: "v3.4.0"
|
|
20
|
+
hooks:
|
|
21
|
+
- id: pyupgrade
|
|
22
|
+
args: ["--py310-plus"]
|
|
23
|
+
|
|
24
|
+
- repo: https://github.com/hadialqattan/pycln
|
|
25
|
+
rev: "v2.1.5"
|
|
26
|
+
hooks:
|
|
27
|
+
- id: pycln
|
|
28
|
+
args: [--config=pyproject.toml]
|
|
29
|
+
stages: [manual]
|
|
30
|
+
|
|
31
|
+
- repo: https://github.com/psf/black
|
|
32
|
+
rev: "23.3.0"
|
|
33
|
+
hooks:
|
|
34
|
+
- id: black
|
|
35
|
+
|
|
36
|
+
- repo: https://github.com/pycqa/flake8
|
|
37
|
+
rev: "6.0.0"
|
|
38
|
+
hooks:
|
|
39
|
+
- id: flake8
|
|
40
|
+
additional_dependencies: [flake8-bugbear]
|
|
41
|
+
|
|
42
|
+
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
43
|
+
rev: "v1.3.0"
|
|
44
|
+
hooks:
|
|
45
|
+
- id: mypy
|
|
46
|
+
exclude: auditwheel_emscripten/emscripten_tools
|
|
47
|
+
|
|
48
|
+
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
49
|
+
rev: "v0.9.0.5"
|
|
50
|
+
hooks:
|
|
51
|
+
- id: shellcheck
|
|
52
|
+
|
|
53
|
+
- repo: https://github.com/codespell-project/codespell
|
|
54
|
+
rev: "v2.2.4"
|
|
55
|
+
hooks:
|
|
56
|
+
- id: codespell
|
|
57
|
+
args: ["-L", "te,slowy,aray,ba,nd,classs,crate,feld,lits"]
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## Unreleased
|
|
9
|
+
|
|
10
|
+
## [0.0.12] - 2023.02.13
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Added license file to the distribution.
|
|
15
|
+
([#10](https://github.com/ryanking13/auditwheel-emscripten/pull/10))
|
|
16
|
+
|
|
17
|
+
## [0.0.11] - 2023.02.06
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Added `--show-type` option to `exports` and `imports` command, which will
|
|
22
|
+
show the type of the functions in the output.
|
|
23
|
+
([#9](https://github.com/ryanking13/auditwheel-emscripten/pull/9))
|
|
24
|
+
|
|
25
|
+
## [0.0.10] - 2023.01.26
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- Removed extra message from CLI commands.
|
|
30
|
+
([#8](https://github.com/ryanking13/auditwheel-emscripten/pull/8))
|
|
31
|
+
- Changed the output format of `exports` and `imports` CLI command in order to
|
|
32
|
+
make it easier to parse with `grep`.
|
|
33
|
+
([#8](https://github.com/ryanking13/auditwheel-emscripten/pull/8))
|
|
34
|
+
|
|
35
|
+
## [0.0.9] - 2022.12.20
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
|
|
39
|
+
- `pyodide auditwheel show` now will work on modules with .wasm suffix
|
|
40
|
+
([#7](https://github.com/ryanking13/auditwheel-emscripten/pull/7))
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- Changed the CLI entry point name from `pyodide audit` to `pyodide auditwheel`
|
|
45
|
+
([#5](https://github.com/ryanking13/auditwheel-emscripten/pull/5))
|