Python2 has reached its end of life and this amalgamate script works with python 3 now. The python script says 3.4+

Jack (John) McKeown 2020-04-24 00:53:34 -04:00
parent e411b733d1
commit 6e0fbb6a9a

@ -7,7 +7,7 @@ The include/ should be added to your compiler include path. JsonCpp headers shou
If JsonCpp was built as a dynamic library on Windows, then your project needs to define the macro JSON_DLL. If JsonCpp was built as a dynamic library on Windows, then your project needs to define the macro JSON_DLL.
Generating amalgamated source and header Generating amalgamated source and header
JsonCpp is provided with a script to generate a single header and a single source file to ease inclusion into an existing project. The amalgamated source can be generated at any time by running the following command from the top-directory (this requires Python 2.6): JsonCpp is provided with a script to generate a single header and a single source file to ease inclusion into an existing project. The amalgamated source can be generated at any time by running the following command from the top-directory (this requires Python 3.4+):
`python amalgamate.py` `python amalgamate.py`
It is possible to specify header name. See the -h option for detail. It is possible to specify header name. See the -h option for detail.