Skip to content

Commit 57d9f30

Browse files
committed
Fix meson sdist
1 parent 1bd8e3e commit 57d9f30

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ci/azure_template_posix.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,16 @@ jobs:
104104
- script: |
105105
echo "Installing to site packages (sdist)"
106106
python -m build --sdist . -v
107-
SDIST=$(ls -t ./dist/linearmodels-*.gz | head -1)
108-
pip install ${SDIST}
107+
SDIST=$(ls -t ./dist/linearmodels-*.tar.gz | head -1)
108+
pip install ${SDIST} -v
109109
displayName: 'Install linearmodels (site-packages)'
110110
condition: eq(variables['test.sdist'], 'true')
111111
112112
- script: |
113113
echo "Installing to site packages (wheel)"
114114
python -m pip wheel . --wheel-dir ./dist/
115115
WHL=$(ls -t ./dist/linearmodels-*.whl | head -1)
116-
pip install ${WHL}
116+
pip install ${WHL} -v
117117
displayName: 'Install linearmodels (site-packages)'
118118
condition: eq(variables['test.wheel'], 'true')
119119

linearmodels/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ else
5959
# When building from sdist, version.py exists and should be included
6060
py.install_sources(
6161
['_version.py'],
62-
62+
subdir : 'linearmodels'
6363
)
6464
endif
6565

0 commit comments

Comments
 (0)