mirror of https://github.com/pyodide/pyodide.git
Rename setup.py in coolprop (#4145)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
d644a405b4
commit
b1256c0a22
|
@ -9,5 +9,5 @@ cpython
|
|||
.vscode
|
||||
.pytest_cache
|
||||
.clang-format
|
||||
packages/libf2c/make.inc
|
||||
packages/libf2c/extras/make.inc
|
||||
src/js/generated_struct_info32.json
|
||||
|
|
|
@ -10,9 +10,9 @@ source:
|
|||
extract_dir: source
|
||||
|
||||
extras:
|
||||
- - setup.py
|
||||
- - extras/setup.py
|
||||
- ./setup.py
|
||||
- - pyproject.toml
|
||||
- - extras/pyproject.toml
|
||||
- ./pyproject.toml
|
||||
|
||||
requirements:
|
||||
|
|
|
@ -24,7 +24,7 @@ source:
|
|||
- patches/0006-adjust-ld-ar-ranlib.patch
|
||||
|
||||
extras:
|
||||
- [make.inc, make.inc]
|
||||
- [extras/make.inc, make.inc]
|
||||
|
||||
build:
|
||||
type: static_library
|
||||
|
|
|
@ -17,7 +17,7 @@ source:
|
|||
- patches/fix-threading.patch
|
||||
|
||||
extras:
|
||||
- - src/setup.cfg
|
||||
- - extras/setup.cfg
|
||||
- ./mplsetup.cfg
|
||||
|
||||
build:
|
||||
|
@ -36,8 +36,8 @@ build:
|
|||
rm -rf matplotlib/backends/qt_editor
|
||||
rm -rf matplotlib/backends/web_backend
|
||||
rm -rf sphinxext
|
||||
cp $PKGDIR/src/fontlist.json matplotlib
|
||||
cp $PKGDIR/src/Humor-Sans-1.0.ttf matplotlib/mpl-data/fonts/ttf/Humor-Sans.ttf
|
||||
cp $PKGDIR/extras/fontlist.json matplotlib
|
||||
cp $PKGDIR/extras/Humor-Sans-1.0.ttf matplotlib/mpl-data/fonts/ttf/Humor-Sans.ttf
|
||||
mkdir -p $PKGDIR/../../dist/fonts
|
||||
cp matplotlib/mpl-data/fonts/ttf/* $PKGDIR/../../dist/fonts/
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ source:
|
|||
sha256: b881cc2a5face5139f1c5a30caf26b7d3cb43d69d5e423c9d78392f99844499f
|
||||
|
||||
extras:
|
||||
- - src/setup.py
|
||||
- - extras/setup.py
|
||||
- ./setup.py
|
||||
|
||||
requirements:
|
||||
|
|
|
@ -12,9 +12,9 @@ source:
|
|||
url: https://files.pythonhosted.org/packages/32/72/03747a6820bc970aeb0b89e653d1084068ac1ed606a83d8b5ac6fc237c14/opencv-python-4.8.0.76.tar.gz
|
||||
sha256: 56d84c43ce800938b9b1ec74b33942b2edbcef3f70c2754eb9bfe5dff1ee3ace
|
||||
extras:
|
||||
- [cmake/OpenCVFindLibsGrfmt.cmake, opencv/cmake/OpenCVFindLibsGrfmt.cmake]
|
||||
- [extras/OpenCVFindLibsGrfmt.cmake, opencv/cmake/OpenCVFindLibsGrfmt.cmake]
|
||||
- [
|
||||
cmake/detect_ffmpeg.cmake,
|
||||
extras/detect_ffmpeg.cmake,
|
||||
opencv/modules/videoio/cmake/detect_ffmpeg.cmake,
|
||||
]
|
||||
patches:
|
||||
|
@ -52,4 +52,4 @@ build:
|
|||
export NUMPY_INCLUDE_DIR="$HOSTINSTALLDIR/lib/python$PYMAJOR.$PYMINOR/site-packages/numpy/core/include/"
|
||||
export FFMPEG_ROOT="$WASM_LIBRARY_DIR"
|
||||
|
||||
source $PKGDIR/cmake/build_args.sh
|
||||
source $PKGDIR/extras/build_args.sh
|
||||
|
|
|
@ -108,8 +108,8 @@ norecursedirs = [
|
|||
]
|
||||
addopts = '''
|
||||
--doctest-modules
|
||||
--ignore="packages/matplotlib/src"
|
||||
--ignore-glob="**/dist/"
|
||||
--ignore-glob="packages/**/extras/"
|
||||
--tb=short
|
||||
--dist-dir=dist'''
|
||||
testpaths = [
|
||||
|
|
Loading…
Reference in New Issue