Commit 76ff729a by devttys0

Fixed OSX setup.py bug

parent 8278229c
......@@ -139,8 +139,7 @@ if "install" in sys.argv or "build" in sys.argv:
# The data files to install along with the module
data_dirs = ["magic", "config", "plugins", "modules", "core"]
install_data_files = [os.path.join("libs", "*.so")]
install_data_files = [os.path.join("libs", "*.dylib")]
install_data_files = [os.path.join("libs", "*.so"), os.path.join("libs", "*.dylib")]
for data_dir in data_dirs:
install_data_files.append("%s%s*" % (data_dir, os.path.sep))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment