summaryrefslogtreecommitdiffhomepage
path: root/gui/scripts
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-11-27 12:53:45 +0100
committerAndrej Mihajlov <and@mullvad.net>2019-11-27 12:53:45 +0100
commitb2486cd53338f44dd721166c5db02faef4b7b396 (patch)
tree1ae7b7affbc2d773b754169f56001e2c7e6008fe /gui/scripts
parent8f9a183130ce77870c23b0e445ace79ad8b5d272 (diff)
parent44a981368a68479fa0001615283a8fe5568ae7ea (diff)
downloadmullvadvpn-b2486cd53338f44dd721166c5db02faef4b7b396.tar.xz
mullvadvpn-b2486cd53338f44dd721166c5db02faef4b7b396.zip
Merge branch 'update-readme-and-python-requirements'
Diffstat (limited to 'gui/scripts')
-rw-r--r--gui/scripts/README.md2
-rw-r--r--gui/scripts/extract-geo-data.py2
-rw-r--r--gui/scripts/integrate-into-app.py2
-rw-r--r--gui/scripts/requirements.txt7
4 files changed, 11 insertions, 2 deletions
diff --git a/gui/scripts/README.md b/gui/scripts/README.md
index 6d11c55ec0..c60323134a 100644
--- a/gui/scripts/README.md
+++ b/gui/scripts/README.md
@@ -62,7 +62,7 @@ and finally generate the R-Tree cache:
npx ts-node prepare-rtree.ts
```
-At this point all of the data should be saved in `gui/geo-data/out` folder.
+At this point all of the data should be saved in `gui/scripts/out` folder.
## App integration notes
diff --git a/gui/scripts/extract-geo-data.py b/gui/scripts/extract-geo-data.py
index e64cb68867..3b3f97708b 100644
--- a/gui/scripts/extract-geo-data.py
+++ b/gui/scripts/extract-geo-data.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
"""
This module forms a geo json of highly populated cities in the world
"""
diff --git a/gui/scripts/integrate-into-app.py b/gui/scripts/integrate-into-app.py
index 28137a2732..910193fd36 100644
--- a/gui/scripts/integrate-into-app.py
+++ b/gui/scripts/integrate-into-app.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
"""
A helper script to integrate the generated geo data into the app.
"""
diff --git a/gui/scripts/requirements.txt b/gui/scripts/requirements.txt
index 2624dd6b14..6c17c2cd87 100644
--- a/gui/scripts/requirements.txt
+++ b/gui/scripts/requirements.txt
@@ -24,7 +24,12 @@ CairoSVG==2.4.2 \
--hash=sha256:4e668f96653326780036ebb0a9ff2bb59a8443d7bcfc51a14aab77b57a8e67ad \
--hash=sha256:9cb1df7e9bc60f75fb87f67940a8fb805aad544337a67a40b67c05cfe33711a2
cffi==1.13.0 \
- --hash=sha256:8fe230f612c18af1df6f348d02d682fe2c28ca0a6c3856c99599cdacae7cf226
+ --hash=sha256:1b9ab50c74e075bd2ae489853c5f7f592160b379df53b7f72befcbe145475a36 \
+ --hash=sha256:2eff642fbc9877a6449026ad66bf37c73bf4232505fb557168ba5c502f95999b \
+ --hash=sha256:5ed40760976f6b8613d4a0db5e423673ca162d4ed6c9ed92d1f4e58a47ee01b5 \
+ --hash=sha256:719537b4c5cd5218f0f47826dd705fb7a21d83824920088c4214794457113f3f \
+ --hash=sha256:8fe230f612c18af1df6f348d02d682fe2c28ca0a6c3856c99599cdacae7cf226 \
+ --hash=sha256:dd308802beb4b2961af8f037becbdf01a1e85009fdfc14088614c1b3c383fae5
click==7.0 \
--hash=sha256:2335065e6395b9e67ca716de5f7526736bfa6ceead690adf616d925bdc622b13 \
--hash=sha256:5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7