This PR updates the compile.py, docs.py, and Makefile to be Python 3 compatible. I've verified the changes work, and docs write out correctly.
Running the make all command...
>>>$ make all
python ./bin/compile.py > data/sources-spec-`date "+%Y%m%d"`.json
cp data/sources-spec-`date "+%Y%m%d"`.json data/sources-spec-latest.json
python ./bin/docs.py
Results in the expected...
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: LICENSE.md
modified: data/sources-spec-latest.json
modified: sources/README.md
Untracked files:
(use "git add <file>..." to include in what will be committed)
data/sources-spec-20200427.json
Fixes https://github.com/whosonfirst/whosonfirst-sources/issues/167.
This PR updates the
compile.py
,docs.py
, andMakefile
to be Python 3 compatible. I've verified the changes work, and docs write out correctly.Running the
make all
command...Results in the expected...