Commit Graph

40 Commits

Author SHA1 Message Date
Frédéric Péters 28ad56c585 debian: add missing dh-python 2021-12-12 14:33:20 +01:00
Frédéric Péters 00c9ccb752 debian: use debhelper compat level 12 2021-12-12 14:28:48 +01:00
Frédéric Péters 412298dabb debian: don't install README.md 2020-07-11 15:57:58 +02:00
Frédéric Péters dc9f98a7f1 debian: add initial packaging 2020-07-11 15:57:58 +02:00
Bruno Bord 637cbb16a2
v1.1.0
**Major changes**

* Added Python 3.8 compatibility (#1).
* Added Python 2.6 compatibility + circle-ci job, documentation amended, code fixed to be compatible with Python 2.6 (#6).
* Removed tox.ini reference to Python 3.3 builds.

**Minor changes**

* Revamped/Simplified Travis configuration.
2020-05-20 14:46:58 +02:00
Bruno Bord cc63252152
Merge pull request #8 from brunobord/python-2.6-compatibility
Enable Python 2.6 compatibility
2020-05-15 16:04:26 +02:00
Bruno Bord f99b1d43dd
Enable Python 2.6 compatibility
* Added a dedicated tox configuration file, and a Makefile target to run
tests,
* Added circle-ci job to test Python2.6,
* Added Documentation about how to keep Python 2.6 compatibility,
* Fixed non-Python 2.6 code, sadly.
* Added classifiers for Python 2.6 in setup.

closes #6
2020-05-15 15:56:25 +02:00
Bruno Bord b8a2911403
Merge pull request #5 from brunobord/add-python38-compatibility
Add Python 3.8 compatibility
2020-05-05 16:36:22 +02:00
Bruno Bord 2ad6911362
Added Python 3.8 compatibility
closes #1
2020-05-05 16:24:53 +02:00
Bruno Bord 8bad393d58
Warn users that this project is not compatible with Python 2.6 2020-05-05 16:22:12 +02:00
Bruno Bord 94c78b905d
Removed tox.ini reference to Python 3.3 builds 2020-05-05 16:16:40 +02:00
Bruno Bord 24968ae2fe
Revamped/simplify Travis configuration
* Drop the "sudo" for Python 3.7 job,
* Using the "magic" matrix utility to make it more readable,
* Upgraded the VM to Bionic
2020-05-05 16:16:40 +02:00
Bruno Bord 3c3ec2b447
Back to dev => 1.1.0.dev0 2020-05-05 10:24:35 +02:00
Bruno Bord ee57aaa739
v1.0.0
**First major version**

skyfield-data is considered as stable.
2020-05-05 09:43:21 +02:00
Bruno Bord dba5c21cb4
Merge pull request #3 from brunobord/usno-deltat-files-URI-change
Update USNO files + Refresh Leap Second data file
2020-05-05 09:34:36 +02:00
Bruno Bord 69112eb7ef
Updated ``Leap_Second.dat`` data file 2020-05-05 09:30:12 +02:00
Bruno Bord bc7382d224
Refreshed and updated `deltat.data` file 2020-05-05 09:27:52 +02:00
Bruno Bord ec0cb6afc9
Changing host for ``deltat.*`` files
Files were hosted by a HTTP server that was shut down in favor of an anonymous FTP server.
2020-05-05 09:20:27 +02:00
Bruno Bord b3b09686a5
Enables to shift the expiration date limit by "n" days in the ``get_skyfield_data_path`` function
* Added ``expiration_limit`` argument. Default value is ``0``, so you're only checking for *already expired* files,
* Updated documentation in README.
* Updated docstrings
2019-10-04 15:21:30 +02:00
Bruno Bord cfccdcddf1
Back to development => 0.2.0.dev0 2019-10-04 11:47:35 +02:00
Bruno Bord 9088d1f03b
v0.1.0 2019-10-04 11:34:19 +02:00
Bruno Bord 06652c4310
Added a test to check if the current files are about to expire (45 days from now)
Travis CI would run a monthly job and eventually report when it has failed, so actions can be done to refresh the files and "unbreak" the library.
2019-10-04 11:06:53 +02:00
Bruno Bord 1ddc115dc0
Warn user when there's a download error.
Expiration date file won't be modified if at least one of the downloads has failed.
2019-10-04 10:38:59 +02:00
Bruno Bord 864121d585
Add Travis CI Status badge on README 2019-10-04 09:58:47 +02:00
Bruno Bord b681451b59
Handling file expiration
* Generate a catalog of the expiration dates for files,
* Detect when a file has expired and raise a ``UserWarning``
2019-10-04 09:51:26 +02:00
Bruno Bord 94225ce126
Added basic tests, via tox and CI via Travis 2019-09-22 18:09:29 +02:00
Bruno Bord 2c715b5bea
Dropped Python 3.3 and 3.4 compatibility 2019-09-22 17:52:20 +02:00
Bruno Bord 8c63fefd4f
Enable computation of the expiration date of the BSP file(s) 2019-09-20 16:38:53 +02:00
Bruno Bord dc8ed7ec1e
Check for expiration dates on files currently on disk 2019-09-20 15:47:46 +02:00
Bruno Bord 4cf36c1d80
Back to dev => 0.0.3.dev0 2019-08-23 13:01:19 +02:00
Bruno Bord 929a670f4f
v0.0.2
* Document the "Advanced" usage, with the ``expire`` option for the Loader.
* Ensure it's Python 2 compatible, since ``skyfield`` is compatible with Python 2.6/2.7.
2019-08-23 12:53:00 +02:00
Bruno Bord 8da891a2c0
Ensure Python 2 compatibility
Skyfield being 2.6+ compatible, we had to follow the same requirements.
Runtime code should be compatible, too.
2019-08-23 12:51:15 +02:00
Bruno Bord 5001b9aab7
Document the "Advanced" usage, with the ``expire`` option for the Loader 2019-08-23 11:19:59 +02:00
Bruno Bord bef0abcba3
Back to development => 0.0.2.dev0 2019-07-29 17:00:51 +02:00
Bruno Bord 4c4bf5b563
v0.0.1
Initial release:

* This project includes minimal data files required by the Python Skyfield library: `de421.bsp`, `deltat.data`, `deltat.preds` and `Leap_Second.dat`.
* It provides a small Python script to download the files from their respective source,
* This script eventually checks if some of the files are expired and skips them (by default),
* Usage documentation is included in the `README.md` file.
* This project code is released under the terms of the MIT License.

Skyfield Library: https://rhodesmill.org/skyfield/
2019-07-29 16:59:11 +02:00
Bruno Bord 40d597c41c
Makefile usage help 2019-07-29 12:09:07 +02:00
Bruno Bord 1c0bc9e834
Download files only when necessary
The download script now checks the current file expiration date and would only retreive it if the file has expired.
2019-07-29 12:09:07 +02:00
Bruno Bord bb76ebb905
Naive download script + data files
The data files were downloaded on July 26th 2019.

Also added the bare minimum configuration to build a source package.
Updated the README with copyright mentions and a usage example.
2019-07-29 12:09:07 +02:00
Bruno Bord f85481c416
Skyfield Data project 2019-07-29 12:02:11 +02:00
Bruno Bord 4fbab5695e
v0.0.0 2019-07-29 12:01:48 +02:00