Masood Malekghassemi
f17f0f6b07
Fallback to generating files if not generated
...
Even if GRPC_PYTHON_BUILD_WITH_CYTHON is not specified, if the files are
not present then we will fall back to generating with Cython. This
relegates GRPC_PYTHON_BUILD_WITH_CYTHON to providing a regeneration
option rather than being a necessary build environment variable.
9 years ago
Masood Malekghassemi
1ff429da2a
Organize Python tests to use grpcio-tools directly
...
Moves all tests into a separate package. This does not change existing
supported means of running tests (e.g. through run_tests.py).
9 years ago
Ken Payson
2b7fae0432
Lowered six dependency version to 1.5.2
9 years ago
Ken Payson
fe754b4e99
Use GRPC_PYTHON_CFLAGS/GRPC_PYTHON_LDFLAGS in setup.py.
...
This is needed for building grpcio with mingw, see
https://github.com/grpc/grpc/pull/7012 .
9 years ago
Masood Malekghassemi
bb3948813c
Fix namespace package usage
...
Turns out that Python namespace packages may be asymmetrical. The contents of a
particular package that was installed first (here grpcio) appears to retain its
contents in the installation directory when all other distributions declare
that package as a namespace package (here grpcio-tools).
9 years ago
Ken Payson
1efb6017ec
Initial Python3 support
...
Notable Changes:
-Convert all str types to byte types at cython layer (ascii encoding)
-Use six for packages that have different names in Python2/Python3
-By default, unit tests are compiled/run in Python2.7 and Python3.4
-Ensure MACOSX_BUILD_TARGET is at least 10.7
9 years ago
Ken Payson
22a65e1a2b
Added python jwt_token_creds interop test
9 years ago
Masood Malekghassemi
d4b4009c37
Use Python namespace packages
...
Before, namespace packages would break in auditwheel due to a
superfluous check (fixed in the commit referenced in the Dockerfiles).
Now, the auditwheel used in the manylinux1-support Docker images can
handle namespace packages, and we may thus use them. This should
alleviate future user pain w.r.t. installation of grpcio-tools causing
loss of grpcio files and vice versa (e.g. requiring a reinstall of
grpcio following installation of grpcio-tools).
9 years ago
Masood Malekghassemi
ab5309c9b1
Remove precompiled Python extension hack
9 years ago
Masood Malekghassemi
010eb48d21
Use manylinux
9 years ago
Masood Malekghassemi
d039a98a94
Add Python grpcio protoc package
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Leifur Halldor Asgeirsson
554c7dd22f
py3 compatibility for test runner & loader
9 years ago
Leifur Halldor Asgeirsson
38a3d7a5e6
make cygrpc importable on py3
9 years ago
Masood Malekghassemi
68a94c8f07
Don't set linetrace unless testing coverage
9 years ago
Jan Tattermusch
e6cc9c7a25
custom test target for parallel test running
9 years ago
Masood Malekghassemi
3ee1f9b778
Update Python docgen
9 years ago
Masood Malekghassemi
736173487c
Exclude cygrpc.so from the Python package
9 years ago
Vijay Pai
b48f4c830a
Merge remote-tracking branch 'upstream/master' into alarm_openloop
9 years ago
Masood Malekghassemi
603b076855
Fix Python unit tests
9 years ago
Masood Malekghassemi
f747409f6f
Use precompiled extensions only
9 years ago
Craig Tiller
f456b92099
Fix Python
9 years ago
Masood Malekghassemi
334e9e6fa2
Use wheels instead for custom bdists
9 years ago
Nathaniel Manista
fa6cad701c
grpc_set_ssl_roots_override_callback for Python
9 years ago
Craig Tiller
f008f067f8
build.yaml centric versioning
9 years ago
Craig Tiller
a7f3e05760
Actually use compiler flags
9 years ago
Craig Tiller
71ea4a1955
Make binary compatibility not the default
9 years ago
Masood Malekghassemi
7a81fb830f
Bump python version
9 years ago
Masood Malekghassemi
94592b06fb
Bump Python version for artifact building
9 years ago
Masood Malekghassemi
10509a28c7
Fix Python Windows build
9 years ago
Nicolas "Pixel" Noble
e018f9f2e8
Almost there.
9 years ago
Masood Malekghassemi
c9c53eeba5
Sundry fixes
9 years ago
Masood Malekghassemi
df1e07e5c1
Add shim for Python's gRPC core on Windows
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Craig Tiller
00572a9dec
Experimentally fix syntax
9 years ago
Craig Tiller
4bef7cebe6
Use old memcpy for wrappers
9 years ago
Masood Malekghassemi
154b0eeaa9
Enable binary linux distributions for Python
9 years ago
Masood Malekghassemi
0cc27920f8
Integrate zlib into Python distribution
9 years ago
Masood Malekghassemi
58a1dc2bb3
Add compiler error diagnostics to Python setup
9 years ago
Masood Malekghassemi
ad32ff4e61
Depend on Python protobuf in grpcio
9 years ago
Masood Malekghassemi
985152ca93
Fix missing libz and libm linker symbols
9 years ago
Masood Malekghassemi
e540b571da
Remove trailing directory-name slashes in setup.py
...
Python on Windows inexplicably chokes on trailing slashes.
9 years ago
Masood Malekghassemi
ecaf0801a5
Python version bump
9 years ago
Masood Malekghassemi
1d17781795
Check compiler versions at Python setup time
9 years ago
Masood Malekghassemi
df97aecb79
Enable submitting binary dists of Python
9 years ago
murgatroid99
3466c4b55d
Updated copyrights
9 years ago
Masood Malekghassemi
387e116fd6
Use BoringSSL for Python gRPC
9 years ago
Masood Malekghassemi
6d2ef17f30
Use default gRPC roots.pem if none provided
9 years ago
Masood Malekghassemi
b7e7b3f759
Redirect Python manifest to less ambiguous filename
9 years ago
Masood Malekghassemi
116982ea89
Include core in Python distribution
9 years ago