Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add package: pyworld #677

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions server/pypi/packages/pyworld/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package:
name: pyworld
version: 0.2.12

requirements:
host:
- numpy 1.17.4
22 changes: 22 additions & 0 deletions server/pypi/packages/pyworld/patches/chaquopy.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
--- src-original/setup.py 2020-10-19 06:31:08.000000000 +0000
+++ src/setup.py 2021-05-05 08:57:57.395348080 +0000
@@ -26,7 +26,7 @@
def finalize_options(self):
_build_ext.finalize_options(self)
# Prevent numpy from thinking it is still in its setup process:
- __builtins__.__NUMPY_SETUP__ = False
+ __builtins__.__NUMPY_SETUP__ = True # Chaquopy: was False
import numpy
self.include_dirs.append(numpy.get_include())

@@ -48,9 +48,7 @@
cmdclass={'build_ext': build_ext},
version=_VERSION,
packages=find_packages(),
- setup_requires=[
- 'numpy',
- ],
+ # Chaquopy: removed setup_requires=['numpy']
install_requires=[
'numpy',
'cython>=0.24.0',