Changeset 412


Ignore:
Timestamp:
08/23/10 11:26:21 (6 years ago)
Author:
mmckerns
Message:

added lines to setup for optional dependencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alta/setup_mystic-0.2a1_alta.py

    r398 r412  
    3434# add dependencies 
    3535numpy_version = '>=1.0' 
     36sympy_version = '>=0.6.5' 
     37scipy_version = '>=0.6.0' 
    3638matplotlib_version = '>=0.91' 
    3739if has_setuptools: 
    3840    setup_code += """ 
    39       install_requires = ('numpy%s'), 
     41      install_requires = ['numpy%s'], 
    4042""" % numpy_version 
    4143 
     
    5254try: 
    5355    import numpy 
     56    #import sympy 
     57    #import scipy 
    5458    #import matplotlib #XXX: has issues being zip_safe 
    5559except ImportError: 
     
    5761    print "WARNING: One of the following dependencies is unresolved:" 
    5862    print "    numpy %s" % numpy_version 
     63    print "    sympy %s (optional)" % sympy_version 
     64    print "    scipy %s (optional)" % scipy_version 
    5965    print "    matplotlib %s (optional)" % matplotlib_version 
    6066    print "***********************************************************\n" 
Note: See TracChangeset for help on using the changeset viewer.