new build system: build in /build, dev version in /dev; split up Ox.js; fix tests
This commit is contained in:
parent
bbef38f0a9
commit
d0fe279a0f
366 changed files with 8165 additions and 161926 deletions
|
|
@ -9,8 +9,6 @@ import ox
|
|||
import re
|
||||
|
||||
"""
|
||||
run this, then html/geo.html, then py/fix_json.py
|
||||
|
||||
311 countries
|
||||
-- sovereign, dependent and disputed countries according to
|
||||
http://en.wikipedia.org/wiki/List_of_sovereign_states
|
||||
|
|
@ -26,6 +24,10 @@ both will used by html/geo.html
|
|||
|
||||
"""
|
||||
|
||||
base_path = os.path.dirname(__file__)
|
||||
if base_path:
|
||||
os.chdir(base_path)
|
||||
|
||||
MIN_LAT = -math.degrees(math.atan(math.sinh(math.pi)))
|
||||
|
||||
geo = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue