Changeset 7628:0b07450c2693


Ignore:
Timestamp:
12/13/07 15:01:37 (5 years ago)
Author:
William Stein <wstein@…>
Branch:
default
Message:

Fix a slight remaining issue with trac 1462 where sage -b wouldn't run if compiling failed once.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r7627 r7628  
    10751075else: 
    10761076    H_old = open(CYTHON_HASH_FILE).read() 
     1077 
    10771078if H != H_old: 
    10781079    do_cython = True 
    1079     open(CYTHON_HASH_FILE,'w').write(H) 
    10801080else: 
    10811081    do_cython = False 
     
    11001100    cython(ext_modules) 
    11011101 
    1102 setup(name        = 'sage', 
     1102code = setup(name        = 'sage', 
    11031103 
    11041104      version     =  SAGE_VERSION, 
     
    12591259 
    12601260  
    1261   
     1261# *Only* write the hash file out if the build 
     1262# succeeded with no errors.  
     1263open(CYTHON_HASH_FILE,'w').write(H) 
Note: See TracChangeset for help on using the changeset viewer.