Remove variant_dir in SConstruct.
The f2py *.so suffix is not consistent with python virtualenv version. By using the source dir it is easier to fix manually since the *.so are not installed
This commit is contained in:
parent
43886601e9
commit
d4e166cb6d
|
@ -87,5 +87,7 @@ if GetOption('verbose'):
|
||||||
|
|
||||||
|
|
||||||
Export('env')
|
Export('env')
|
||||||
SConscript('msspec/spec/fortran/SConstruct', variant_dir='build/build_spec')
|
SConscript('msspec/spec/fortran/SConstruct')
|
||||||
SConscript('msspec/phagen/fortran/SConstruct', variant_dir='build/build_phagen')
|
SConscript('msspec/phagen/fortran/SConstruct')
|
||||||
|
#SConscript('msspec/spec/fortran/SConstruct', variant_dir='build/build_spec')
|
||||||
|
#SConscript('msspec/phagen/fortran/SConstruct', variant_dir='build/build_phagen')
|
||||||
|
|
|
@ -5,6 +5,6 @@ objects_src= ['phagen_scf_2.1_dp.f']
|
||||||
objects = env.Object(objects_src)
|
objects = env.Object(objects_src)
|
||||||
|
|
||||||
module = env.F2py('libphagen', ['main.f'] + objects, F2PYCOMSTR=">>")
|
module = env.F2py('libphagen', ['main.f'] + objects, F2PYCOMSTR=">>")
|
||||||
env.InstallModule(module)
|
#env.InstallModule(module)
|
||||||
|
|
||||||
env.Alias('phagen', module)
|
env.Alias('phagen', module)
|
||||||
|
|
|
@ -46,19 +46,19 @@ common_deps = dim_mod_obj + memalloc_obj + cluster_gen_obj + common_sub_obj
|
||||||
|
|
||||||
deps = common_deps + renormalization_obj + phd_se_noso_nosp_nosym_obj
|
deps = common_deps + renormalization_obj + phd_se_noso_nosp_nosym_obj
|
||||||
phd_se_mod = env_spec.F2py('_phd_se_noso_nosp_nosym', ['phd_se_noso_nosp_nosym/main.f'] + deps)
|
phd_se_mod = env_spec.F2py('_phd_se_noso_nosp_nosym', ['phd_se_noso_nosp_nosym/main.f'] + deps)
|
||||||
env_spec.InstallModule(phd_se_mod)
|
#env_spec.InstallModule(phd_se_mod)
|
||||||
|
|
||||||
deps = common_deps + renormalization_obj + phd_mi_noso_nosp_nosym_obj
|
deps = common_deps + renormalization_obj + phd_mi_noso_nosp_nosym_obj
|
||||||
phd_mi_mod = env_spec.F2py('_phd_mi_noso_nosp_nosym', ['phd_mi_noso_nosp_nosym/main.f'] + deps)
|
phd_mi_mod = env_spec.F2py('_phd_mi_noso_nosp_nosym', ['phd_mi_noso_nosp_nosym/main.f'] + deps)
|
||||||
env_spec.InstallModule(phd_mi_mod)
|
#env_spec.InstallModule(phd_mi_mod)
|
||||||
|
|
||||||
deps = common_deps + renormalization_obj + eig_common_obj + eig_mi_obj
|
deps = common_deps + renormalization_obj + eig_common_obj + eig_mi_obj
|
||||||
eig_mi_mod = env_spec.F2py('_eig_mi', ['eig/mi/main.f'] + deps)
|
eig_mi_mod = env_spec.F2py('_eig_mi', ['eig/mi/main.f'] + deps)
|
||||||
env_spec.InstallModule(eig_mi_mod)
|
#env_spec.InstallModule(eig_mi_mod)
|
||||||
|
|
||||||
deps = common_deps + renormalization_obj + eig_common_obj + eig_pw_obj
|
deps = common_deps + renormalization_obj + eig_common_obj + eig_pw_obj
|
||||||
eig_pw_mod = env_spec.F2py('_eig_pw', ['eig/pw/main.f'] + deps)
|
eig_pw_mod = env_spec.F2py('_eig_pw', ['eig/pw/main.f'] + deps)
|
||||||
env_spec.InstallModule(eig_pw_mod)
|
#env_spec.InstallModule(eig_pw_mod)
|
||||||
|
|
||||||
# Alias
|
# Alias
|
||||||
env_spec.Alias('spec', [phd_se_mod, phd_mi_mod, eig_pw_mod, eig_mi_mod])
|
env_spec.Alias('spec', [phd_se_mod, phd_mi_mod, eig_pw_mod, eig_mi_mod])
|
||||||
|
|
Loading…
Reference in New Issue