From d1c035bbfdfbf8e769f93db86e994ae478525165 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Fri, 23 Jun 2023 13:39:10 -0600 Subject: [PATCH] Update python usage --- README.md | 13 ++++++------- tle2ssc | 4 ++-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 126787d..f28388e 100644 --- a/README.md +++ b/README.md @@ -42,13 +42,12 @@ Install thusly to generate your own `.ssc` files. git clone https://spacecruft.org/spacecruft/celestia-gnss cd celestia-gnss sudo apt update -sudo apt install python3-pip +sudo apt install python3-pip python3-virtualenv # Many ways to do python setup, here is one: -pip3 install --upgrade --user pip -# Make sure your path includes `~/.local/bin`, if not, add it. -which pip -# Should be ~/.local/bin/pip -pip install --user -r requirements.txt +virtualenv -p python3 env +source env/bin/activate +pip install --upgrade pip +pip install -r requirements.txt ``` # Run celestia-gnss @@ -262,7 +261,7 @@ Output works in Celestia. Orbits are not confirmed correct. # License / Copyright Upstream sources under their respective copyrights. -Copyright (C) 2022 Jeff Moe. +Copyright (C) 2022, 2023 Jeff Moe. License: GPLv2 or any later version. diff --git a/tle2ssc b/tle2ssc index 86bf2b9..d7b4011 100755 --- a/tle2ssc +++ b/tle2ssc @@ -1,9 +1,9 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 """ tle2ssc 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 This program is free software: you can redistribute it and/or modify