Update python usage
parent
f804c9eb38
commit
d1c035bbfd
13
README.md
13
README.md
|
@ -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.
|
||||||
|
|
||||||
|
|
4
tle2ssc
4
tle2ssc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue