Package: astrometry.net / 0.76+dfsg-3

Use-python3-in-bangpath.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
From: Ole Streicher <olebole@debian.org>
Date: Wed, 28 Nov 2018 08:41:34 +0100
Subject: Use python3 in bangpath and don't install incompatible EXIF.py

---
 bin/degtohms                | 2 +-
 bin/hmstodeg                | 2 +-
 bin/image2pnm               | 2 +-
 bin/merge-columns           | 2 +-
 bin/removelines             | 2 +-
 bin/text2fits               | 2 +-
 bin/uniformize              | 2 +-
 bin/votabletofits           | 2 +-
 blind/plotann.py            | 2 +-
 blind/plotindex.py          | 2 +-
 blind/whynot.py             | 2 +-
 sdss/fields.py              | 2 +-
 sdss/sdss_das.py            | 2 +-
 util/2mass_catalog.py       | 2 +-
 util/2mass_get.py           | 2 +-
 util/Makefile               | 2 +-
 util/casjobs.py             | 2 +-
 util/image2pnm.py           | 2 +-
 util/index-demo.py          | 2 +-
 util/index-stats.py         | 2 +-
 util/make-wcs.py            | 2 +-
 util/plotSipDistortion.py   | 2 +-
 util/plotshift.py           | 2 +-
 util/removelines.py         | 2 +-
 util/removelines_general.py | 2 +-
 util/removelines_rotate.py  | 2 +-
 util/uniformize.py          | 2 +-
 util/usnob_catalog.py       | 2 +-
 util/usnob_get_image.py     | 2 +-
 util/usnob_get_region.py    | 2 +-
 util/usnob_trim.py          | 2 +-
 31 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/bin/degtohms b/bin/degtohms
index acb8cf1..df8cae4 100755
--- a/bin/degtohms
+++ b/bin/degtohms
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/bin/hmstodeg b/bin/hmstodeg
index 7376fa1..805f2a9 100755
--- a/bin/hmstodeg
+++ b/bin/hmstodeg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/bin/image2pnm b/bin/image2pnm
index c44497c..2efdb7b 100755
--- a/bin/image2pnm
+++ b/bin/image2pnm
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 from __future__ import print_function
 from __future__ import absolute_import
 import sys
diff --git a/bin/merge-columns b/bin/merge-columns
index 53b9d3a..5770a81 100755
--- a/bin/merge-columns
+++ b/bin/merge-columns
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/bin/removelines b/bin/removelines
index 5f2b9a4..3ddfd91 100755
--- a/bin/removelines
+++ b/bin/removelines
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 from __future__ import print_function
 from __future__ import absolute_import
 import sys
diff --git a/bin/text2fits b/bin/text2fits
index 33d8b53..97f973d 100755
--- a/bin/text2fits
+++ b/bin/text2fits
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 import sys
diff --git a/bin/uniformize b/bin/uniformize
index 3dd6c9c..8aeed8a 100755
--- a/bin/uniformize
+++ b/bin/uniformize
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 from __future__ import print_function
 from __future__ import absolute_import
 import sys
diff --git a/bin/votabletofits b/bin/votabletofits
index e9a199a..8e8278c 100755
--- a/bin/votabletofits
+++ b/bin/votabletofits
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 import sys
diff --git a/blind/plotann.py b/blind/plotann.py
index 49f66f8..4ef812f 100755
--- a/blind/plotann.py
+++ b/blind/plotann.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/blind/plotindex.py b/blind/plotindex.py
index 575151e..41b98cc 100644
--- a/blind/plotindex.py
+++ b/blind/plotindex.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/blind/whynot.py b/blind/whynot.py
index a51d7c6..3260025 100755
--- a/blind/whynot.py
+++ b/blind/whynot.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/sdss/fields.py b/sdss/fields.py
index 5c0161e..a6119bd 100755
--- a/sdss/fields.py
+++ b/sdss/fields.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/sdss/sdss_das.py b/sdss/sdss_das.py
index 509a8ee..05a3408 100755
--- a/sdss/sdss_das.py
+++ b/sdss/sdss_das.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 from __future__ import print_function
 
 from astrometry.util.run_command import run_command
diff --git a/util/2mass_catalog.py b/util/2mass_catalog.py
index dd3d84a..de8bc93 100755
--- a/util/2mass_catalog.py
+++ b/util/2mass_catalog.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
 import sys
diff --git a/util/2mass_get.py b/util/2mass_get.py
index 14e6f85..009c050 100755
--- a/util/2mass_get.py
+++ b/util/2mass_get.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/util/Makefile b/util/Makefile
index 06dc6ab..92a7997 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -180,7 +180,7 @@ PYTHON_INSTALL := image2pnm.py addpath.py \
 	uniformize.py casjobs.py \
 	usnob_catalog.py usnob_get_image.py usnob_get_region.py \
 	find_data_file.py plotshift.py plotutils.py miscutils.py multiproc.py \
-	ttime.py resample.py EXIF.py horizons.py \
+	ttime.py resample.py horizons.py \
 	imageutils.py siap.py stages.py timingpool.py
 
 # celestial_mechanics.py (needs license)
diff --git a/util/casjobs.py b/util/casjobs.py
index 99cd417..01b6395 100755
--- a/util/casjobs.py
+++ b/util/casjobs.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/util/image2pnm.py b/util/image2pnm.py
index 9b543b2..b663c3a 100755
--- a/util/image2pnm.py
+++ b/util/image2pnm.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 """
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
diff --git a/util/index-demo.py b/util/index-demo.py
index 0f1abec..3265629 100644
--- a/util/index-demo.py
+++ b/util/index-demo.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/util/index-stats.py b/util/index-stats.py
index 6b306d7..dd3993c 100755
--- a/util/index-stats.py
+++ b/util/index-stats.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/util/make-wcs.py b/util/make-wcs.py
index b1b1db9..aebcc3e 100755
--- a/util/make-wcs.py
+++ b/util/make-wcs.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/util/plotSipDistortion.py b/util/plotSipDistortion.py
index 19c28eb..0ab55ad 100755
--- a/util/plotSipDistortion.py
+++ b/util/plotSipDistortion.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 if __name__ == '__main__':
diff --git a/util/plotshift.py b/util/plotshift.py
index 2e522eb..d04d88d 100755
--- a/util/plotshift.py
+++ b/util/plotshift.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 
diff --git a/util/removelines.py b/util/removelines.py
index 80e87c2..06759f8 100755
--- a/util/removelines.py
+++ b/util/removelines.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/util/removelines_general.py b/util/removelines_general.py
index 748a5fc..48be7f3 100755
--- a/util/removelines_general.py
+++ b/util/removelines_general.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/util/removelines_rotate.py b/util/removelines_rotate.py
index d7860a6..2654d62 100755
--- a/util/removelines_rotate.py
+++ b/util/removelines_rotate.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/util/uniformize.py b/util/uniformize.py
index ee1f108..6a06e46 100755
--- a/util/uniformize.py
+++ b/util/uniformize.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/util/usnob_catalog.py b/util/usnob_catalog.py
index 808a884..57c6a39 100755
--- a/util/usnob_catalog.py
+++ b/util/usnob_catalog.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/util/usnob_get_image.py b/util/usnob_get_image.py
index c065646..297c68b 100755
--- a/util/usnob_get_image.py
+++ b/util/usnob_get_image.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/util/usnob_get_region.py b/util/usnob_get_region.py
index b982745..76290bb 100755
--- a/util/usnob_get_region.py
+++ b/util/usnob_get_region.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE
 from __future__ import print_function
diff --git a/util/usnob_trim.py b/util/usnob_trim.py
index 9f8d375..6b53fa3 100644
--- a/util/usnob_trim.py
+++ b/util/usnob_trim.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # This file is part of the Astrometry.net suite.
 # Licensed under a 3-clause BSD style license - see LICENSE