File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
graalpython/lib-graalpython/patches/grpcio Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ diff --git a/pyproject.toml b/pyproject.toml
2
+ new file mode 100644
3
+ index 0000000..9175509
4
+ --- /dev/null
5
+ +++ b/pyproject.toml
6
+ @@ -0,0 +1,3 @@
7
+ + [build-system]
8
+ + requires = ["setuptools >= 40.6.0", "wheel", "Cython"]
9
+ + build-backend = "setuptools.build_meta:__legacy__"
10
+ diff --git a/setup.py b/setup.py
11
+ index 8da207b..6d5a38b 100644
12
+ --- a/setup.py
13
+ +++ b/setup.py
14
+ @@ -131,7 +131,7 @@ BUILD_OVERRIDE_BORING_SSL_ASM_PLATFORM = os.environ.get(
15
+ # to have been generated by building first *with* Cython support. Even if this
16
+ # is set to false, if the script detects that the generated `.c` file isn't
17
+ # present, then it will still attempt to use Cython.
18
+ - BUILD_WITH_CYTHON = _env_bool_value('GRPC_PYTHON_BUILD_WITH_CYTHON', 'False')
19
+ + BUILD_WITH_CYTHON = _env_bool_value('GRPC_PYTHON_BUILD_WITH_CYTHON', 'True')
20
+
21
+ # Export this variable to use the system installation of openssl. You need to
22
+ # have the header files installed (in /usr/include/openssl) and during
Original file line number Diff line number Diff line change
1
+ [[rules ]]
2
+ # Force re-cythonize
3
+ patch = ' grpcio.patch'
You can’t perform that action at this time.
0 commit comments