Update python usage

main
Jeff Moe 2023-06-23 13:39:10 -06:00
parent f804c9eb38
commit d1c035bbfd
2 changed files with 8 additions and 9 deletions

View File

@ -42,13 +42,12 @@ Install thusly to generate your own `.ssc` files.
git clone https://spacecruft.org/spacecruft/celestia-gnss git clone https://spacecruft.org/spacecruft/celestia-gnss
cd celestia-gnss cd celestia-gnss
sudo apt update sudo apt update
sudo apt install python3-pip sudo apt install python3-pip python3-virtualenv
# Many ways to do python setup, here is one: # Many ways to do python setup, here is one:
pip3 install --upgrade --user pip virtualenv -p python3 env
# Make sure your path includes `~/.local/bin`, if not, add it. source env/bin/activate
which pip pip install --upgrade pip
# Should be ~/.local/bin/pip pip install -r requirements.txt
pip install --user -r requirements.txt
``` ```
# Run celestia-gnss # Run celestia-gnss
@ -262,7 +261,7 @@ Output works in Celestia. Orbits are not confirmed correct.
# License / Copyright # License / Copyright
Upstream sources under their respective copyrights. Upstream sources under their respective copyrights.
Copyright (C) 2022 Jeff Moe. Copyright (C) 2022, 2023 Jeff Moe.
License: GPLv2 or any later version. License: GPLv2 or any later version.

View File

@ -1,9 +1,9 @@
#!/usr/bin/python3 #!/usr/bin/env python3
""" """
tle2ssc tle2ssc
Convert TLE orbit to Solar System Catalog (SSC) format for Celestia. Convert TLE orbit to Solar System Catalog (SSC) format for Celestia.
Copyright (C) 2022, Jeff Moe, jebba. Copyright (C) 2022, 2023, Jeff Moe
Authors: Jeff Moe Authors: Jeff Moe
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify