Diff for /python/pyGiNaC/setup.py between versions 1.19 and 1.20

version 1.19, 2001/04/06 22:54:26 version 1.20, 2001/04/08 20:52:50
Line 37  if eval(sys.version[0])<2: Line 37  if eval(sys.version[0])<2:
   
 #++++++++++++++ Rebuild ++++++++++++++++++++++++  #++++++++++++++ Rebuild ++++++++++++++++++++++++
 rebuild = 0  rebuild = 0
   disable_opt = 1 # for final compilation set 0
   
 if 'rebuild' in sys.argv:  if 'rebuild' in sys.argv:
     sys.argv[sys.argv.index('rebuild')] = 'build'      sys.argv[sys.argv.index('rebuild')] = 'build'
Line 48  if 'reinstall' in sys.argv: Line 49  if 'reinstall' in sys.argv:
 wrap_input = ['symbol','numeric','constant','relational',  wrap_input = ['symbol','numeric','constant','relational',
               'lst','idx','varidx','power','add','mul',                'lst','idx','varidx','power','add','mul',
               'ncmul','pseries','matrix','function','inifcns',                'ncmul','pseries','matrix','function','inifcns',
               'function','flags','exvector']                'function','flags','exvector',
                 'indexed','color','clifford']
 if 0: # optional  if 0: # optional
     wrap_input += ['expair','epvector']      wrap_input += ['expair','epvector']
   
 wrap_input = ['function','inifcns']  wrap_input = ['function','inifcns']
 wrap_input = ['mul','symbol']  wrap_input = ['add','mul','power','lst','pseries','relational','matrix','numeric','constant','symbol','varidx']
   wrap_input = ['color','symbol']
   
   #++++++++++++++++ Parameters ++++++++++++++++
   nof_lst_params = 0    # max 15 for ginac, max 10 for boost.python, min 1
   nof_ncmul_params = 3
   nof_indexed_params = 4 # max 4
   
 #+++++++++++++++++ Do not edit ++++++++++++++++++  
 wrap_input.append('tostring')  
 #++++++++++++++++++++ boost +++++++++++++++++++++  #++++++++++++++++++++ boost +++++++++++++++++++++
   
 boost_dir = '/usr/local/share/boost'  boost_dir = '/usr/local/share/boost'
Line 85  def my_init_posix(): Line 91  def my_init_posix():
         print 'my_init_posix: changing LDSHARED =',`g['LDSHARED']`,          print 'my_init_posix: changing LDSHARED =',`g['LDSHARED']`,
         g['LDSHARED'] = 'g++'+g['LDSHARED'][3:]          g['LDSHARED'] = 'g++'+g['LDSHARED'][3:]
         print 'to',`g['LDSHARED']`          print 'to',`g['LDSHARED']`
       if disable_opt and g['OPT'][:6]=='-g -O2':
           print 'my_init_posix: changing OPT =',`g['OPT']`,
           g['OPT'] = '-g'+g['OPT'][6:]
           print 'to',`g['OPT']`
 sysconfig._init_posix = my_init_posix  sysconfig._init_posix = my_init_posix
   
 #+++++++++++++++++ PyGiNaC version ++++++++++++++  #+++++++++++++++++ PyGiNaC version ++++++++++++++
   
 major_version = 0  major_version = 0
 minor_version = 0  minor_version = 1
 try: execfile(os.path.join('tools','get_revision.py'))  try: execfile(os.path.join('tools','get_revision.py'))
 except: revision_version = 0  except: revision_version = 0
 version='%d.%d.%d'%(major_version,minor_version,revision_version)  version='%d.%d.%d'%(major_version,minor_version,revision_version)
Line 102  ginac_cpp = os.path.join('src','_ginac.c Line 112  ginac_cpp = os.path.join('src','_ginac.c
 cppsrc = [ginac_cpp]  cppsrc = [ginac_cpp]
   
 if rebuild or not os.path.exists(ginac_cpp):  if rebuild or not os.path.exists(ginac_cpp):
     execfile(os.path.join('tools','wrappers','build.py'))      wrapper_dir = 'wrappers'
     wrapper_dir = os.path.join('tools','wrappers')      execfile(os.path.join(wrapper_dir,'build.py'))
     build_ginac_cpp(wrap_input,ginac_cpp)      build_ginac_cpp(wrap_input,ginac_cpp,wrapper_dir)
   
 ginac_ext = Extension('ginac._ginac',  ginac_ext = Extension('ginac._ginac',
                       sources=cppsrc+bpl_src,                        sources=cppsrc+bpl_src,

Removed from v.1.19  
changed lines
  Added in v.1.20


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>