示例#1
0
Operating System :: Unix
Operating System :: MacOS
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
"""

if any(cmd in sys.argv for cmd in ('install', 'build', 'develop')):
    check_dependencies((
        ('numpy',),
        ('scipy',),
        ('pandas',),
        ('six',),
        ('mdtraj',),
        ('sklearn', 'scikit-learn'),
        ('numpydoc',),
        ('tables', 'pytables'),
    ))


# Where to find extensions
MSMDIR = 'msmbuilder/msm/'
HMMDIR = 'msmbuilder/hmm/'
CLUSTERDIR = 'msmbuilder/cluster/'


compiler = CompilerDetection(DISABLE_OPENMP)
with open('msmbuilder/src/config.pxi', 'w') as f:
    f.write('''
示例#2
0
Operating System :: Unix
Operating System :: MacOS
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
"""

if any(cmd in sys.argv for cmd in ('install', 'build', 'develop')):
    check_dependencies((
        ('numpy', ),
        ('scipy', ),
        ('pandas', ),
        ('six', ),
        ('mdtraj', ),
        ('sklearn', 'scikit-learn'),
        ('numpydoc', ),
        ('tables', 'pytables'),
    ))

# Where to find extensions
MSMDIR = 'msmbuilder/msm/'
HMMDIR = 'msmbuilder/hmm/'
CLUSTERDIR = 'msmbuilder/cluster/'

compiler = CompilerDetection(DISABLE_OPENMP)
with open('msmbuilder/src/config.pxi', 'w') as f:
    f.write('''
DEF DEBUG = {debug}
DEF OPENMP = {openmp}
示例#3
0
Operating System :: MacOS
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
"""

if any(cmd in sys.argv for cmd in ("install", "build", "develop")):
    check_dependencies(
        (
            ("numpy",),
            ("scipy",),
            ("pandas",),
            ("six",),
            ("mdtraj",),
            ("sklearn", "scikit-learn"),
            ("numpydoc",),
            ("tables", "pytables"),
        )
    )


# Where to find extensions
MSMDIR = "msmbuilder/msm/"
HMMDIR = "msmbuilder/hmm/"
CLUSTERDIR = "msmbuilder/cluster/"


compiler = CompilerDetection(DISABLE_OPENMP)
with open("msmbuilder/src/config.pxi", "w") as f: