Remove a duplicate code line and add Windows environment setup info.

This commit is contained in:
Neel Patel 2016-02-03 09:58:58 +00:00 committed by Dave Page
parent fc676efa30
commit 8a06d5bd54
2 changed files with 10 additions and 3 deletions

12
README
View File

@ -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
-------

View File

@ -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")