# HG changeset patch # User Mike Miller # Date 1459810772 25200 # Node ID e803c9927dd9e87b6ccc8ead6d0cc86f65c282f9 # Parent e247e53ef7745cf491d5cffa0aad5868feb54112 build: Drop unused alternate build systems * configure.ac: Drop substitutions for Jamfile, project-root.jam, and setup.py. * Makefile.am (EXTRA_DIST): Remove project-root.jam from the list. * .hgignore: Remove Jamfile, project-root.jam, and setup.py. * Jamfile.in, project-root.jam.in, setup.py.in: Delete. diff -r e247e53ef774 -r e803c9927dd9 .hgignore --- a/.hgignore Mon Apr 04 15:30:03 2016 -0700 +++ b/.hgignore Mon Apr 04 15:59:32 2016 -0700 @@ -16,7 +16,6 @@ ^depcomp$ ^.deps$ ^install-sh$ -^Jamfile$ ^.libs$ ^libtool$ ^ltmain.sh$ @@ -25,8 +24,6 @@ ^Makefile$ ^Makefile.in$ ^missing$ -^project-root.jam$ ^py\.oct$ ^_pytave?la*$ -^setup.py$ ^stamp-h1$ diff -r e247e53ef774 -r e803c9927dd9 Jamfile.in --- a/Jamfile.in Mon Apr 04 15:30:03 2016 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# @configure_input@ - -# Building with bjam is no longer supported - this script probably -# does not work. - -project py : - requirements - /usr/lib/lib@BOOST_PYTHON_LIB@.so - @JAM_LIBOCTAVE@ - @JAM_LIBCRUFT@ - @JAM_LIBOCTINTERP@ -# @PYTHON_INCLUDE_DIR@ # FIXME - @OCTAVE_INCLUDEDIR@ - @abs_srcdir@ - @abs_builddir@ - "HAVE_CONFIG_H" - "-Wl,-rpath -Wl,@PYTAVE_OCTAVE_RPATH@" - "-Wall" -; - -python-extension _pytave : @srcdir@/octave_to_python.cc @srcdir@/pytave.cc @srcdir@/exceptions.cc @srcdir@/python_to_octave.cc @srcdir@/arrayobjectdefs.h @abs_builddir@/config.h @srcdir@/octave_to_python.h @srcdir@/pytavedefs.h @srcdir@/exceptions.h @srcdir@/python_to_octave.h ; - diff -r e247e53ef774 -r e803c9927dd9 Makefile.am --- a/Makefile.am Mon Apr 04 15:30:03 2016 -0700 +++ b/Makefile.am Mon Apr 04 15:59:32 2016 -0700 @@ -1,6 +1,6 @@ ACLOCAL_AMFLAGS = -I m4 EXTRA_lib_LTLIBRARIES = _pytave.la -EXTRA_DIST = test/test.py test/exceptions.py project-root.jam \ +EXTRA_DIST = test/test.py test/exceptions.py \ package/__init__.py package/pytave.py EXTRA_libdir = @PYTAVE_MODULE_INSTALL_PATH@ diff -r e247e53ef774 -r e803c9927dd9 configure.ac --- a/configure.ac Mon Apr 04 15:30:03 2016 -0700 +++ b/configure.ac Mon Apr 04 15:59:32 2016 -0700 @@ -117,21 +117,10 @@ PYTAVE_MODULE_INSTALL_PATH=${prefix} ]) -# Substitutes for the Makefile/Jamfile -#AC_SUBST(OCTAVE_INCLUDEDIR) -#AC_SUBST(OCTAVE_LIBRARYDIR) PYTAVE_OCTAVE_RPATH="$OCTAVE_LIBRARYDIR" AC_SUBST(PYTAVE_OCTAVE_RPATH) AC_SUBST(PYTAVE_MODULE_INSTALL_PATH) -# Substitutes for the Jamfile. XXX: Replace lib*.so with OS independent name. -AC_SUBST(JAM_LIBOCTAVE, $OCTAVE_LIBRARYDIR/liboctave.so) -AC_SUBST(JAM_LIBCRUFT, $OCTAVE_LIBRARYDIR/libcruft.so) -AC_SUBST(JAM_LIBOCTINTERP, $OCTAVE_LIBRARYDIR/liboctinterp.so) - -# setup.py -AC_SUBST(PYTHON) - msg="One or more library dependencies could not be resolved. Missing dependencies: @@ -140,10 +129,8 @@ AS_IF(test -z "$pytave_missing_libs", [ -# Substitute in these files, copy project-root.jam to VPATH too -AC_OUTPUT([Makefile Jamfile setup.py project-root.jam]) +AC_OUTPUT([Makefile]) -chmod u+x "setup.py" msg='Pytave is configured with the following setup' ]) @@ -175,4 +162,4 @@ AS_IF(test -n "$pytave_missing_libs", [ AC_MSG_ERROR([[Configuration failure. Halt.]]) -]) \ No newline at end of file +]) diff -r e247e53ef774 -r e803c9927dd9 project-root.jam.in diff -r e247e53ef774 -r e803c9927dd9 setup.py.in --- a/setup.py.in Mon Apr 04 15:30:03 2016 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,46 +0,0 @@ -#!@PYTHON@ -# -*- coding: utf-8; c-basic-offset: 3; indent-tabs-mode: nil; tab-width: 3; -*- -# @configure_input@ - -from distutils.core import setup, Extension - -setup( - name = 'pytave', - version = '@PACKAGE_VERSION@', - author = '@PACKAGE_NAME@ team', - author_email = '@PACKAGE_BUGREPORT@', - package_dir = {'pytave' : '@srcdir@/package'}, - packages = ['pytave'], - ext_modules = [ - Extension('pytave/_pytave', - language = "c++", - sources = [ - '@srcdir@/octave_to_python.cc', - '@srcdir@/pytave.cc', - '@srcdir@/exceptions.cc', - '@srcdir@/python_to_octave.cc', - ], - depends = [ - '@srcdir@/arrayobjectdefs.h', - '@abs_builddir@/config.h', - '@srcdir@/octave_to_python.h', - '@srcdir@/pytavedefs.h', - '@srcdir@/exceptions.h', - '@srcdir@/python_to_octave.h' - ], - - # Python always included, so don't bother. - # TODO: Check whether paths work on Windows or not. - # The file separator might be wrong. (Must be / in setup.cfg) - include_dirs = ['@OCTAVE_INCLUDEDIR@', - '@NUMPY_INCLUDEDIR@', - '@abs_builddir@', - '@srcdir@', - ], - define_macros = [('HAVE_CONFIG_H', '1')], - library_dirs = ['@OCTAVE_LIBRARYDIR@'], - runtime_library_dirs = ['@PYTAVE_OCTAVE_RPATH@'], - libraries = ['octinterp', 'octave', 'cruft', '@BOOST_PYTHON_LIB@'] - ) - ] -)