Skip to content

Commit

Permalink
cleaning old code and requirements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefal committed Jun 20, 2024
1 parent f4ea493 commit 79d5951
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 38 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
- RTKLib upgraded to release b34j from rtklibexplorer.
- Switch server from eventlet to gevent + Gunicorn server.
### Deprecated
- Operating systems older than Debian 10 / Ubuntu 20.04 can't update RTKBase anymore.
- Operating systems older than Debian 11 / Ubuntu 22.04 can't update RTKBase anymore.
- Python release < 3.8 deprecated
### Removed
- Eventlet python module is not needed anymore.
### Fixed
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ A gnss receiver with a timepulse output is a very accurate [stratum 0](https://e

```
## Requirements:
Python >= 3.7
Debian base distro >= 11 (Bullseye)
Python >= 3.8
## History:
See the [changelog](./CHANGELOG.md)
Expand Down
15 changes: 0 additions & 15 deletions tools/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,21 +129,6 @@ install_gpsd_chrony() {
cp /lib/systemd/system/chrony.service /etc/systemd/system/chrony.service
sed -i s/^After=.*/After=gpsd.service/ /etc/systemd/system/chrony.service

#If needed, adding backports repository to install a gpsd release that support the F9P
if lsb_release -sc | grep -qE 'bionic|buster'
then
if ! apt-cache policy | grep -qE 'buster-backports.* armhf'
then
#Adding buster-backports
echo 'deb http://httpredir.debian.org/debian buster-backports main contrib' > /etc/apt/sources.list.d/backports.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
apt-get "${APT_TIMEOUT}" update || exit 1
fi
apt-get "${APT_TIMEOUT}" -t buster-backports install gpsd -y || exit 1
else
#We hope that the release is more recent than buster and provide gpsd 3.20 or >
apt-get "${APT_TIMEOUT}" install gpsd -y || exit 1
fi
#disable hotplug
sed -i 's/^USBAUTO=.*/USBAUTO="false"/' /etc/default/gpsd
#Setting correct input for gpsd
Expand Down
30 changes: 9 additions & 21 deletions web_app/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,20 @@ bidict==0.22.1
blinker==1.6.3
Bootstrap-Flask==2.4.0
certifi==2024.2.2
cffi==1.16.0;python_version>="3.8"
cffi==1.15.1;python_version<"3.8"
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
cryptography==42.0.7;python_version>="3.8"
cryptography==41.0.5;python_version<"3.8"
cryptography==42.0.7
distro==1.8.0
dnspython==2.6.1;python_version>="3.8"
dnspython==2.3.0;python_version<"3.8"
Flask==3.0.3;python_version>="3.8"
Flask==2.2.5;python_version<"3.8"
Flask-Login==0.6.3;python_version>="3.8"
Flask-Login==0.6.3;python_version<"3.8"
dnspython==2.6.1
Flask==3.0.3
Flask-Login==0.6.3
Flask-SocketIO==5.3.6
Flask-WTF==1.2.1;python_version>="3.8"
Flask-WTF==1.1.1;python_version<"3.8"
Flask-WTF==1.2.1
gevent==24.2.1
gunicorn==22.0.0
h11==0.14.0
idna==3.7
importlib-metadata==6.7.0;python_version<"3.8"
itsdangerous==2.1.2
Jinja2==3.1.4
lxml==4.9.3
Expand All @@ -37,15 +30,10 @@ pyserial==3.5
pystemd==0.13.2
python-engineio==4.8.0
python-socketio==5.10.0
requests==2.32.3;python_version>="3.8"
requests==2.31.0;python_version<"3.8"
requests==2.32.3
simple-websocket==1.0.0
six==1.16.0
typing_extensions==4.7.1;python_version<"3.8"
urllib3==2.0.7
Werkzeug==3.0.3;python_version>="3.8"
Werkzeug==2.2.3;python_version<"3.8"
Werkzeug==3.0.3
wsproto==1.2.0
WTForms==3.1.0;python_version>="3.8"
WTForms==3.0.1;python_version<"3.8"
zipp==3.15.0;python_version<"3.8"
WTForms==3.1.0

0 comments on commit 79d5951

Please sign in to comment.