Skip to content

Commit

Permalink
improvements for conda file structure on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gbarter committed Jan 19, 2024
1 parent 23eef73 commit 0f3116c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rosco/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
libname = "libdiscon"

lib_path = [os.path.join(rosco_dir, "lib", libname+lib_ext), # pip installs (regular and editable)
os.path.join(rosco_dir, "..", "..", "local", "lib", libname+lib_ext), # WEIS library
os.path.join(os.path.dirname( os.path.dirname( rosco_dir )), "local", "lib", libname+lib_ext), # WEIS library
os.path.join(os.path.dirname( sysconfig.get_path('stdlib') ), libname+lib_ext), # conda installs
os.path.join(os.path.dirname( sysconfig.get_path('stdlib') ), "lib", libname+lib_ext), # conda installs
os.path.join(os.path.dirname( sysconfig.get_path('stdlib') ), "Library", "lib", libname+lib_ext), # conda installs
os.path.join( sysconfig.get_path('platlib'), "rosco", "lib", libname+lib_ext), # system-wide pip installs
os.path.join( sysconfig.get_config_var("userbase"), "lib", "python", "site-packages", "rosco", "lib", libname+lib_ext), # system wide local
]
Expand Down

0 comments on commit 0f3116c

Please sign in to comment.