diff --git a/README b/README index 7b9fa2f24..a8126b671 100644 --- a/README +++ b/README @@ -40,8 +40,16 @@ $ make On Linux, an executable called 'pgAdmin4' will be built, and on Mac OS X, an app bundle called pgAdmin4.app will be created. -At the time of writing, no attempt has been made to build the runtime on a -Windows system, though in theory it should work. +To build the runtime on a Windows system, export PYTHON_HOME and PYTHON_VERSION +variables in the System environment. Specify the PYTHON_VERSION with the major +and minor number. Do not specify micro level version. +For example, given a Python version of A.B.C; A - Major number, B - Minor number, +C - Micro level (Bug fix releases). + +If Python version is 2.7.2 than specify PYTHON_VERSION=27 + + e.g. PYTHON_HOME=C:\Python27\ + PYTHON_VERSION=27 Support ------- diff --git a/runtime/pgAdmin4.pro b/runtime/pgAdmin4.pro index 26f4cd618..3da541447 100644 --- a/runtime/pgAdmin4.pro +++ b/runtime/pgAdmin4.pro @@ -24,7 +24,6 @@ win32 { else { INCLUDEPATH = $$PY_HOME\include LIBS += -L"$$PY_HOME\libs" -lpython$$PY_VERSION - PY2_VERSION = $$find(PY_VERSION, "^2") # Set the PYTHON2 macro if appropriate PY2_VERSION = $$find(PY_VERSION, "^2")