Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on May 18, 2015
  1. @jcfr

    Merge pull request #49 from adrianbroher/fix-nmake-pythonpath

    jcfr authored
    Escape PYTHONPATH macro value separator for NMake
Commits on May 17, 2015
  1. @adrianbroher

    Escape PYTHONPATH macro value separator for NMake

    adrianbroher authored
    When compiling libpythons `PC\getpathp.c` with make files generated by
    the NMake generator an invalid command line for the cl.exe compiler is
    created.  cl.exe reports:
    
    `cl : Command line error D8003 : missing source filename`
    
    This is caused by not escaping the ; seperator within the PYTHONPATH
    value, which in turn splits up the PYTHONPATH into separate -D(EFINE)
    statements within the cl.exe command line and hiding the source file
    with stray quotes.
Commits on Feb 18, 2015
  1. @jcfr

    Merge branch 'add-appveyor'

    jcfr authored
    * add-appveyor:
      appveyor: Add initial configuration
  2. @jcfr
Commits on Feb 16, 2015
  1. @jcfr

    Merge pull request #48 from chuckatkins/fix-gdbm-headers

    jcfr authored
    Accomodate the various configurations of nbdm.h
  2. @jcfr

    Merge branch 'ci-add-travis'

    jcfr authored
    * ci-add-travis:
      travis: Add initial configuration
  3. @jcfr

    travis: Add initial configuration

    jcfr authored
Commits on Feb 15, 2015
  1. @jcfr

    Merge branch 'glehmann-auto-download'

    jcfr authored
    * glehmann-auto-download:
      Download source archive in the parent directory
      Display source download messages with first letter upper-cased
      Document DOWNLOAD_SOURCES CMake option
      Check MD5 of downloaded source archive
      Use official tar.gz source archive for both windows and unix
      Automatically download the python sources
  2. @jcfr

    Download source archive in the parent directory

    jcfr authored
    Prior to this commit:
    
      ~/scratch/python-cmake-buildsystem/
      ~/scratch/python-cmake-buildsystem-build/
      ~/scratch/python-cmake-buildsystem-build/Python-X.Y.Z.tgz
      ~/scratch/Python-X.Y.Z
    
    After this commit:
    
      ~/scratch/python-cmake-buildsystem/
      ~/scratch/python-cmake-buildsystem-build/
      ~/scratch/Python-X.Y.Z
      ~/scratch/Python-X.Y.Z.tgz
  3. @jcfr

    Display source download messages with first letter upper-cased

    jcfr authored
    For sake of consistence with other informational message.
  4. @jcfr
  5. @jcfr
  6. @jcfr

    Use official tar.gz source archive for both windows and unix

    jcfr authored
    Co-authored-by: Gaëtan Lehmann <gaetan.lehmann@gmail.com>
  7. @glehmann @jcfr

    Automatically download the python sources

    glehmann authored jcfr committed
Commits on Feb 13, 2015
  1. @chuckatkins
Commits on Jan 23, 2015
  1. @jcfr

    Merge branch 'fix-cmp0054-warnings'

    jcfr authored
    * fix-cmp0054-warnings:
      Simplify if() conditions on check result variables to fix CMP0054 warnings
  2. @jcfr

    Simplify if() conditions on check result variables to fix CMP0054 war…

    jcfr authored
    …nings
    
    Remove use of an old hack that takes advantage of the auto-dereference
    behavior of the if() command to detect if a variable is defined.  The
    hack has the form:
    
     if("${VAR} MATCHES "^${VAR}$")
    
    where "${VAR}" is a macro argument reference.  Use if(NOT DEFINED) instead.
    This also avoids warnings for CMake Policy CMP0054.
    
    
    This commit fixes the following warnings:
    
    CMake Warning (dev) at cmake/PlatformTest.cmake:69 (if):
      Policy CMP0054 is not set: Only interpret if() arguments as variables or
      keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
      details.  Use the cmake_policy command to set the policy and suppress this
      warning.
    
      Quoted variables like "DOUBLE_IS_LITTLE_ENDIAN_IEEE754" will no longer be
      dereferenced when the policy is set to NEW.  Since the policy is not set
      the OLD behavior will be used.
    Call Stack (most recent call first):
      cmake/ConfigureChecks.cmake:642 (python_platform_test_run)
      CMakeLists.txt:104 (include)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at cmake/PlatformTest.cmake:10 (IF):
      Policy CMP0054 is not set: Only interpret if() arguments as variables or
      keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
      details.  Use the cmake_policy command to set the policy and suppress this
      warning.
    
      Quoted variables like "HAVE_GCC_ASM_FOR_X87_COMPILED" will no longer be
      dereferenced when the policy is set to NEW.  Since the policy is not set
      the OLD behavior will be used.
    Call Stack (most recent call first):
      cmake/ConfigureChecks.cmake:693 (python_platform_test)
      CMakeLists.txt:104 (include)
    This warning is for project developers.  Use -Wno-dev to suppress it.
Commits on Jan 19, 2015
  1. @jcfr

    Merge pull request #47 from chuckatkins/use-system-bzip2

    jcfr authored
    Allow system BZip2
  2. @chuckatkins

    Allow system BZip2

    chuckatkins authored
Commits on Nov 26, 2014
  1. @jcfr

    Merge branch 'fix-ctypes-build-on-i686-system'

    jcfr authored
    * fix-ctypes-build-on-i686-system:
      Fix configuration of ctypes extension in case system processor is i686
  2. @jcfr

    Fix configuration of ctypes extension in case system processor is i686

    jcfr authored
    This commit should fix the following configuration error:
    
    // ---------------
    CMAKE_SYSTEM_PROCESSOR:i686
    
    /home/thiele/Slicer-SuperBuild-Debug/python-build/../Python-2.7.3/Modules/_ctypes/libffi/src/i686/ffi.c
    
      Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
      .hxx .in .txx
    Call Stack (most recent call first):
      cmake/extensions/CMakeLists.txt:183 (add_python_extension)
    
    // ---------------
Commits on Aug 21, 2014
  1. @jcfr

    Merge branch '33-compile-tkappinit-fail-x11-header-no-found'

    jcfr authored
    * 33-compile-tkappinit-fail-x11-header-no-found:
      Find X11 library and header to fix tkinter compile error. Fixes #33
  2. @jcfr

    Find X11 library and header to fix tkinter compile error. Fixes #33

    jcfr authored
    With version of MacOSX > 11.x (Lion), Apple has dropped dedicated support
    for X11.app, with users directed to the open source XQuartz project
    instead. See http://en.wikipedia.org/wiki/XQuartz
    
    Since headers and libraries provided by XQuartz are located in the
    non system location '/opt/X11', it is required to find them.
Commits on Jul 15, 2014
  1. @jcfr

    Merge pull request #43 from thewtex/rst-readme

    jcfr authored
    Reformat README from Markdown to reStructuredText.
  2. @thewtex

    Reformat README from Markdown to reStructuredText.

    thewtex authored
    In line with pypa/python-packaging-user-guide.
Commits on Jul 13, 2014
  1. @jcfr

    Merge branch '38-fix-int-uint-detection'

    jcfr authored
    * 38-fix-int-uint-detection:
      Fix failed uint{32,64}_t / int{32,64}_t detection on some platforms.
  2. @ycollet @jcfr

    Fix failed uint{32,64}_t / int{32,64}_t detection on some platforms.

    ycollet authored jcfr committed
    This commits backport python/cpython@050ba5e addressing issue 10052 [1]
    
    [1] http://bugs.python.org/issue10052
    
    Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
    
    Fixes #38
Commits on Jul 12, 2014
  1. @jcfr

    Merge branch 'simplify-version-handling'

    jcfr authored
    * simplify-version-handling:
      Simplify handling of python version introducing PY_VERSION CMake variable
  2. @ycollet @jcfr

    Simplify handling of python version introducing PY_VERSION CMake vari…

    ycollet authored jcfr committed
    …able
    
    See #42
  3. @jcfr

    Merge branch '31-fix-readline-build-error-macosx104'

    jcfr authored
    * 31-fix-readline-build-error-macosx104:
      Fix readline build error occurring when targeting MacOSX SDK 10.4
  4. @jcfr

    Fix readline build error occurring when targeting MacOSX SDK 10.4

    jcfr authored
    This commit integrates commit python/cpython@7baeed4 and fixes the
    following error:
    
    Python-2.7.3/Modules/readline.c:1026: error: 'rl_event_hook' undeclared (first use in this function)
    
    Fixes #31
Commits on Jul 9, 2014
  1. @jcfr

    Merge branches 'display-system-processor' and 'fix-get-property-warning'

    jcfr authored
    * display-system-processor:
      Display system processor
    
    * fix-get-property-warning:
      Fix get_target_property warning related to non existent target
Commits on Jul 8, 2014
  1. @jcfr

    Merge branch 'convert-readme-to-markdown'

    jcfr authored
    * convert-readme-to-markdown:
      README: Format list of CMake options
      README: Reference license file using relative link
      README: Add instruction to extract Python source archive
      README: Add instruction to check MD5 sum of the downloaded source package
      README: Update curl command to follow redirect
      README: Associate Apache 2.0 License
      README: Re-organize README using markdown
Commits on Jul 6, 2014
  1. @jcfr

    Fix get_target_property warning related to non existent target

    jcfr authored
    With CMake >= 3.0.0, the developer is warned when his code attempt to get
    a property of an non-existent target. This is a good thing. In this
    particular case, the code check if the returned value is set or not to
    check if the "library" is an imported target or path to a library. For that
    reason, it is safe to ignore the warning.
    
    The particular problem has been reported upstream:
      http://www.cmake.org/Bug/view.php?id=15008
    
    Waiting a fix is integrated upstream, this commit apply the fixes to
    the version used for CMake version <= 2.8.7 and make sure to is used for
    CMake version having the policy CMP0045.
    
    Since the version currently in CMake and the one available in this
    repository are not different (beside of some minor style fixes), there
    are no issue using the local version of CMake >- 3.0.0
  2. @jcfr

    Display system processor

    jcfr authored
    When cross-compiling, the system processor will most likely be changed
    into the toolchain file, providing feedback to the developer will
    be helpful.
Something went wrong with that request. Please try again.