Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
5e43ac09
Commit
5e43ac09
authored
9 years ago
by
Masood Malekghassemi
Browse files
Options
Downloads
Plain Diff
Merge pull request #4854 from soltanmm/zedhead
Integrate zlib into Python distribution
parents
899fa9a0
0cc27920
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
PYTHON-MANIFEST.in
+1
-0
1 addition, 0 deletions
PYTHON-MANIFEST.in
build.yaml
+1
-0
1 addition, 0 deletions
build.yaml
setup.py
+3
-2
3 additions, 2 deletions
setup.py
src/python/grpcio/grpc_core_dependencies.py
+15
-0
15 additions, 0 deletions
src/python/grpcio/grpc_core_dependencies.py
with
20 additions
and
2 deletions
PYTHON-MANIFEST.in
+
1
−
0
View file @
5e43ac09
...
@@ -3,6 +3,7 @@ graft src/python/grpcio/tests
...
@@ -3,6 +3,7 @@ graft src/python/grpcio/tests
graft src/core
graft src/core
graft include/grpc
graft include/grpc
graft third_party/boringssl
graft third_party/boringssl
graft third_party/zlib
include src/python/grpcio/commands.py
include src/python/grpcio/commands.py
include src/python/grpcio/grpc_core_dependencies.py
include src/python/grpcio/grpc_core_dependencies.py
include src/python/grpcio/README.rst
include src/python/grpcio/README.rst
...
...
This diff is collapsed.
Click to expand it.
build.yaml
+
1
−
0
View file @
5e43ac09
...
@@ -2636,3 +2636,4 @@ python_dependencies:
...
@@ -2636,3 +2636,4 @@ python_dependencies:
-
grpc
-
grpc
-
gpr
-
gpr
-
boringssl
-
boringssl
-
z
This diff is collapsed.
Click to expand it.
setup.py
+
3
−
2
View file @
5e43ac09
...
@@ -45,6 +45,7 @@ egg_info.manifest_maker.template = 'PYTHON-MANIFEST.in'
...
@@ -45,6 +45,7 @@ egg_info.manifest_maker.template = 'PYTHON-MANIFEST.in'
PYTHON_STEM
=
'
./src/python/grpcio
'
PYTHON_STEM
=
'
./src/python/grpcio
'
CORE_INCLUDE
=
(
'
./include
'
,
'
.
'
,)
CORE_INCLUDE
=
(
'
./include
'
,
'
.
'
,)
BORINGSSL_INCLUDE
=
(
'
./third_party/boringssl/include
'
,)
BORINGSSL_INCLUDE
=
(
'
./third_party/boringssl/include
'
,)
ZLIB_INCLUDE
=
(
'
./third_party/zlib
'
,)
# Ensure we're in the proper directory whether or not we're being used by pip.
# Ensure we're in the proper directory whether or not we're being used by pip.
os
.
chdir
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
os
.
chdir
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
...
@@ -75,9 +76,9 @@ CYTHON_EXTENSION_PACKAGE_NAMES = ()
...
@@ -75,9 +76,9 @@ CYTHON_EXTENSION_PACKAGE_NAMES = ()
CYTHON_EXTENSION_MODULE_NAMES
=
(
'
grpc._cython.cygrpc
'
,)
CYTHON_EXTENSION_MODULE_NAMES
=
(
'
grpc._cython.cygrpc
'
,)
EXTENSION_INCLUDE_DIRECTORIES
=
(
EXTENSION_INCLUDE_DIRECTORIES
=
(
(
PYTHON_STEM
,)
+
CORE_INCLUDE
+
BORINGSSL_INCLUDE
)
(
PYTHON_STEM
,)
+
CORE_INCLUDE
+
BORINGSSL_INCLUDE
+
ZLIB_INCLUDE
)
EXTENSION_LIBRARIES
=
(
'
z
'
,
'
m
'
,)
EXTENSION_LIBRARIES
=
(
'
m
'
,)
if
not
"
darwin
"
in
sys
.
platform
:
if
not
"
darwin
"
in
sys
.
platform
:
EXTENSION_LIBRARIES
+=
(
'
rt
'
,)
EXTENSION_LIBRARIES
+=
(
'
rt
'
,)
...
...
This diff is collapsed.
Click to expand it.
src/python/grpcio/grpc_core_dependencies.py
+
15
−
0
View file @
5e43ac09
...
@@ -517,4 +517,19 @@ CORE_SOURCE_FILES = [
...
@@ -517,4 +517,19 @@ CORE_SOURCE_FILES = [
'
third_party/boringssl/ssl/t1_enc.c
'
,
'
third_party/boringssl/ssl/t1_enc.c
'
,
'
third_party/boringssl/ssl/t1_lib.c
'
,
'
third_party/boringssl/ssl/t1_lib.c
'
,
'
third_party/boringssl/ssl/tls_record.c
'
,
'
third_party/boringssl/ssl/tls_record.c
'
,
'
third_party/zlib/adler32.c
'
,
'
third_party/zlib/compress.c
'
,
'
third_party/zlib/crc32.c
'
,
'
third_party/zlib/deflate.c
'
,
'
third_party/zlib/gzclose.c
'
,
'
third_party/zlib/gzlib.c
'
,
'
third_party/zlib/gzread.c
'
,
'
third_party/zlib/gzwrite.c
'
,
'
third_party/zlib/infback.c
'
,
'
third_party/zlib/inffast.c
'
,
'
third_party/zlib/inflate.c
'
,
'
third_party/zlib/inftrees.c
'
,
'
third_party/zlib/trees.c
'
,
'
third_party/zlib/uncompr.c
'
,
'
third_party/zlib/zutil.c
'
,
]
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment