Command line utilities restored after packagind.
authorRoman Bazalevskiy <rvb@rvb.name>
Fri, 11 Dec 2020 13:24:40 +0000 (16:24 +0300)
committerRoman Bazalevskiy <rvb@rvb.name>
Fri, 11 Dec 2020 13:24:40 +0000 (16:24 +0300)
generate_image [new file with mode: 0755]
pyrungps/__init__.py
pyrungps/__init__.py~ [new file with mode: 0644]
pyrungps_sync
render_tiles [new file with mode: 0755]

diff --git a/generate_image b/generate_image
new file mode 100755 (executable)
index 0000000..12ffe47
--- /dev/null
@@ -0,0 +1,4 @@
+#/usr/bin/sh
+/usr/bin/python -m pyrungps.generate_image $@
+
+
index 94b233fb126466e701a15998ab60194c82d32a69..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,16 +0,0 @@
-from .render_tiles import deg2num, queue_render, queue_tiles, process_queue
-from .parsegpx import check_db_for_training, write_parsed_to_db, write_tree_to_db, print_parsed_file
-from .pygeocode import GetDescr, GeoName
-from .pygpx import deg2rad, StripPrefix, formattime, Link, GPXTrackPt, GPXRoute, GPXTrackSeg, GPXTrack, GPX
-from .pyrungps_sync import get_page, get_gpx_track, get_osm_list, get_osm_gpx, get_db_gpx, get_dbx_list, sync_db, sync_osm, sync_folder
-from .generate_image import render_map, render_all
-
-__all__ = [ 
-  "deg2num", "queue_render", "queue_tiles", "process_queue",
-  "check_db_for_training", "write_parsed_to_db", "write_tree_to_db", "print_parsed_file",
-  "GetDescr", "GeoName",
-  "deg2rad", "StripPrefix", "formattime", "Link", "GPXTrackPt", "GPXRoute", "GPXTrackSeg", "GPXTrack", "GPX",
-  "get_page", "get_gpx_track", "get_osm_list", "get_osm_gpx", "get_db_gpx", "get_dbx_list", "sync_db", "sync_osm", "sync_folder",
-  "render_map", "render_all"
-  ]
-  
\ No newline at end of file
diff --git a/pyrungps/__init__.py~ b/pyrungps/__init__.py~
new file mode 100644 (file)
index 0000000..94b233f
--- /dev/null
@@ -0,0 +1,16 @@
+from .render_tiles import deg2num, queue_render, queue_tiles, process_queue
+from .parsegpx import check_db_for_training, write_parsed_to_db, write_tree_to_db, print_parsed_file
+from .pygeocode import GetDescr, GeoName
+from .pygpx import deg2rad, StripPrefix, formattime, Link, GPXTrackPt, GPXRoute, GPXTrackSeg, GPXTrack, GPX
+from .pyrungps_sync import get_page, get_gpx_track, get_osm_list, get_osm_gpx, get_db_gpx, get_dbx_list, sync_db, sync_osm, sync_folder
+from .generate_image import render_map, render_all
+
+__all__ = [ 
+  "deg2num", "queue_render", "queue_tiles", "process_queue",
+  "check_db_for_training", "write_parsed_to_db", "write_tree_to_db", "print_parsed_file",
+  "GetDescr", "GeoName",
+  "deg2rad", "StripPrefix", "formattime", "Link", "GPXTrackPt", "GPXRoute", "GPXTrackSeg", "GPXTrack", "GPX",
+  "get_page", "get_gpx_track", "get_osm_list", "get_osm_gpx", "get_db_gpx", "get_dbx_list", "sync_db", "sync_osm", "sync_folder",
+  "render_map", "render_all"
+  ]
+  
\ No newline at end of file
index 314e177baa3284df3ecd85c5d9ec315fd7422a8b..a16b3d410b9e48c89826a29f656ab6b319e733e1 100755 (executable)
@@ -1 +1,4 @@
-#!/usr/bin/python pyrungps.py
+#/usr/bin/sh
+/usr/bin/python -m pyrungps.pyrungps_sync $@
+
+
diff --git a/render_tiles b/render_tiles
new file mode 100755 (executable)
index 0000000..90a6ffb
--- /dev/null
@@ -0,0 +1,3 @@
+#/usr/bin/sh
+/usr/bin/python -m pyrungps.render_tiles $@
+