We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db5033b commit 3e00f96Copy full SHA for 3e00f96
setup.py
@@ -2,6 +2,7 @@
2
from setuptools import setup
3
from setuptools import Distribution
4
import os
5
+import platform
6
import subprocess
7
from distutils.command.build_clib import build_clib as _build_clib
8
@@ -17,6 +18,9 @@ def run(self):
17
18
'./configure --enable-swig-python',
19
'make'):
20
subprocess.check_call(cmd.split(' '), cwd=abs_path)
21
+ if platform.system() == 'Darwin':
22
+ cmd = 'cp src/.libs/libwallycore.dylib src/.libs/libwallycore.so'
23
+ subprocess.check_call(cmd.split(' '), cwd=abs_path)
24
25
setup(
26
name='wallycore',
0 commit comments