From 8ebefa513e15245989dfd51c355a3cdeb65df40c Mon Sep 17 00:00:00 2001 From: Tom Keffer Date: Sat, 27 May 2023 04:50:48 -0700 Subject: [PATCH] Require "ephem" instead of "pyephem" Package has been renamed on pypi.org. Also, ephem V3.7 doesn't work. We require 4.1. --- TODO.md | 1 - docs_src/quickstarts/pip.md | 6 +++--- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/TODO.md b/TODO.md index e19164f3..641f3504 100644 --- a/TODO.md +++ b/TODO.md @@ -1,6 +1,5 @@ # To do -Package `pyephem` is now called simply `ephem` in pypi.org. ## Debian packaging diff --git a/docs_src/quickstarts/pip.md b/docs_src/quickstarts/pip.md index ac3519ac..feb71f60 100644 --- a/docs_src/quickstarts/pip.md +++ b/docs_src/quickstarts/pip.md @@ -26,7 +26,7 @@ your system: sudo apt update && sudo apt upgrade sudo apt -y install gcc sudo apt -y install python3-dev - # This makes the install of pyephem go more smoothly: + # This makes the install of ephem go more smoothly: python3 -m pip install wheel ``` @@ -36,7 +36,7 @@ your system: sudo yum update sudo yum install -y gcc sudo yum install -y python3-devel - # This makes the install of pyephem go more smoothly: + # This makes the install of ephem go more smoothly: python3 -m pip install wheel ``` @@ -274,7 +274,7 @@ You can also use pip to uninstall the dependencies, but first check that they are not being used by other programs! ```shell -python3 -m pip uninstall pyserial pyusb CT3 Pillow configobj PyMySQL pyephem ephem -y +python3 -m pip uninstall pyserial pyusb CT3 Pillow configobj PyMySQL ephem ephem -y ``` Finally, if desired, delete the data directory: diff --git a/pyproject.toml b/pyproject.toml index 6e2f9d40..c4593df3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,7 +65,7 @@ configobj = "^5.0" # This is the renamed "Cheetah" package: CT3 = "^3.1" Pillow = ">=5.2" -pyephem = "^3.7" +ephem = "^4.1" PyMySQL = {extras = ["rsa"], version = "^1.0"} pyserial = "^3.4" pyusb = "^1.0.2"