Beispiel #1
0
compile_c_extension = check_compile_cython(pytraj_home, use_pip=use_pip)
print('compile_c_extension =', compile_c_extension)

cpptraj_info = get_cpptraj_info(rootname=rootname,
                                cpptraj_home=cpptraj_home,
                                cpptraj_included=cpptraj_included,
                                compile_c_extension=compile_c_extension,
                                pytraj_home=pytraj_home,
                                openmp_flag=openmp_flag,
                                use_amberlib=use_amberlib)

libcpptraj_files = glob(os.path.join(cpptraj_info.lib_dir, 'libcpptraj') + '*')

write_version_py()
FULLVERSION, GIT_REVISION = get_version_info()
print(FULLVERSION)

# python setup.py clean
cmdclass = {'clean': CleanCommand}
need_cython, cmdclass, cythonize = check_cython(
    is_released,
    cmdclass,
    min_version='0.21',
    use_prebuilt_cythonized_files=use_prebuilt_cythonized_files)

if sys.platform.startswith('win'):
    extra_compile_args = []
    extra_link_args = []
else:
    extra_compile_args = ['-O0', '-ggdb']
Beispiel #2
0
def test_get_version_info():
    print(base_setup.get_version_info())