10000
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.
2 parents c7754b7 + c977e1c commit 7f89fbbCopy full SHA for 7f89fbb
pythonforandroid/recipes/xeddsa/__init__.py
@@ -24,12 +24,9 @@ def build_arch(self, arch):
24
hostpython, 'ref10/build.py',
25
_env=env
26
)
27
- python_version = self.ctx.python_recipe.version[0:3]
28
- site_packages_dir = 'lib/python{python_version}/site-packages'.format(
29
- python_version=python_version)
30
- site_packages = join(self.ctx.get_python_install_dir(),
31
- site_packages_dir)
32
- shprint(sh.cp, '_crypto_sign.so', site_packages)
+ # the library could be `_crypto_sign.cpython-37m-x86_64-linux-gnu.so`
+ # or simply `_crypto_sign.so` depending on the platform/distribution
+ sh.cp('-a', sh.glob('_crypto_sign*.so'), self.ctx.get_site_packages_dir())
33
self.install_python_package(arch)
34
35
0 commit comments