Skip to content

Commit 90c286c

Browse files
authored
Merge pull request #400 from esheldon/manifest-zlib
add zlib to manifest
2 parents f0d0bb4 + b8f2bea commit 90c286c

File tree

3 files changed

+43
-2
lines changed

3 files changed

+43
-2
lines changed

.github/workflows/tests.yml

+38
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,44 @@ jobs:
107107
pip install -vv -e .
108108
SKIP_BZIP_TEST=true pytest -vv fitsio
109109
110+
- name: test install sdist .gz with no unit tests
111+
shell: bash -l {0}
112+
run: |
113+
rm -rf build*
114+
rm -rf $HOME/cfitsio-static-install
115+
find . -name "*.so" -type f -delete
116+
rm -rf dist
117+
118+
python setup.py sdist
119+
120+
pip install -vv --no-deps --no-build-isolation dist/*.tar.gz
121+
cd ..
122+
python -c "import fitsio; assert fitsio.__version__ != '0.0.0'"
123+
cd -
124+
pip uninstall fitsio --yes
125+
126+
- name: test sdist
127+
shell: bash -l {0}
128+
run: |
129+
rm -rf build*
130+
rm -rf $HOME/cfitsio-static-install
131+
find . -name "*.so" -type f -delete
132+
rm -rf dist
133+
134+
python setup.py sdist
135+
pushd dist/
136+
137+
fname=$(ls fitsio*.gz)
138+
tar xvfz "$fname"
139+
dname=$(echo "$fname" | sed 's/\.tar\.gz//')
140+
pushd $dname
141+
142+
pip install -vv -e .
143+
SKIP_BZIP_TEST=true pytest -vv fitsio
144+
145+
popd
146+
popd
147+
110148
- name: flake8
111149
shell: bash -l {0}
112150
run: |

CHANGES.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
version 1.2.3 (not yet released)
1+
version 1.2.3
22
-------------
33

44
Changes
55

66
- bundle cfitsio 4.4.0.
7+
- update manifest to include new cfitsio
78

89
Bug Fixes
910

1011
- Reading images with empty slices was returning data
1112
- Using cfitsio 4.4.0 fixes a bug reading HIERARCH+CONTINUE keywords
13+
- zlib subdir not in manifest
1214

1315
version 1.2.2
1416
-------------

MANIFEST.in

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
include *.txt
22
include README.md
3-
recursive-include cfitsio-4.2.0 *
3+
recursive-include cfitsio-4.4.0 *
44
recursive-include patches *
55
recursive-include fitsio/test_images *
6+
recursive-include zlib *

0 commit comments

Comments
 (0)