Browse Source

Begin Restructure

-main file is now __main__.py
pull/2/head
Jack Sweeney 4 years ago committed by GitHub
parent
commit
073e8f9feb
  1. 4
      README.md
  2. 0
      __init__.py
  3. 4
      __main__.py

4
README.md

@ -120,13 +120,13 @@ screen -R <name screen whatever you want>
### Start Program
```bash
python3 NotifyBotMulti.py
python3 plane-notify
```
### TODO
- General Cleanup
- Restructure project to make it proper currently random files because I didn't know how to properly structure a project before.
- Restructure project to make it proper currently random files because I didn't know how to properly structure a project before. (in progress)
- Add requirments.txt file from pip freeze to create easy dependencies install
- On data loss/gain calculate AGL ft above nearest airport and use that altitude instead of just using baro/geo alt from ADS-B which is MSL.

0
__init__.py

4
NotifyBotMulti.py → __main__.py

@ -10,6 +10,10 @@ from planeClass import Plane
from datetime import datetime
import pytz
import os
if 'plane-notify' not in os.getcwd():
os.chdir('./plane-notify')
import sys
sys.path.extend([os.getcwd()])
required_files = [("Roboto-Regular.ttf", 'https://github.com/google/fonts/raw/master/apache/roboto/static/Roboto-Regular.ttf'), ('airports.csv', 'https://ourairports.com/data/airports.csv'), ('regions.csv', 'https://ourairports.com/data/regions.csv')]
for file in required_files:
file_name = file[0]
Loading…
Cancel
Save