Ticket #12659: trac_12659-script.patch

File trac_12659-script.patch, 1.2 KB (added by mhansen, 7 years ago)
  • sage-build

    # HG changeset patch
    # User Mike Hansen <mhansen@gmail.com>
    # Date 1345503767 36000
    # Node ID 5f092bd491c12109b53491f000160682ea832218
    # Parent  90a5f6eb6ed4c5ab5bf66851818feb6d76c5692d
     #12659: build the sage library in place
    
    diff --git a/sage-build b/sage-build
    a b  
    1414      echo "----------------------------------------------------------"
    1515      echo "sage: Building and installing modified Sage library files."
    1616      echo ""
     17     
     18      # Remove this link. It will be recreated automatically; removing
     19      # it now allows for the transition to build Sage in place (trac
     20      # #12659), because it will replace a link to
     21      # devel/sage/build/sage with a link to devel/sage/sage.
     22      rm -f "$SAGE_LOCAL/lib/python/site-packages/sage"
    1723
    1824      # install c_lib
    1925      # we're doing this here instead of setup.py for historical
  • sage-sdist

    diff --git a/sage-sdist b/sage-sdist
    a b  
    5353    echo '"""nodoctests"""' > version.py
    5454    echo "version='"$SAGE_VERSION"'; date='"$SAGE_RELEASE_DATE"'" >> version.py
    5555    cd "$SAGE_ROOT"/devel/sage
    56     python setup.py install
     56    sage -b
    5757fi
    5858
    5959cd "$SAGE_ROOT"/local/bin/