Commit Graph

18 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa 22af8e782b Require python3 for python bindings 2020-12-29 18:24:41 +09:00
Peter Wu bdb6581990 Add CMake-related files to EXTRA_DIST 2016-03-12 01:38:12 +01:00
Tatsuhiro Tsujikawa f2a1c8ee60 Partially revert a23ab00686
The workaround introduced in a23ab00686
may cause a problem in certain platform (e.g., MacPorts, see GH-303)
2015-07-19 16:11:42 +09:00
Tatsuhiro Tsujikawa a23ab00686 Allow custom install location for python bindings 2015-07-18 00:19:47 +09:00
Tatsuhiro Tsujikawa 163dfb3150 Fix `make distcheck` failure 2015-06-06 23:37:31 +09:00
Tatsuhiro Tsujikawa 2b450f26ba Comment out uninstall-local for python
This uninstall-local rule is too strong; it could delete unexpected
files, although they are likely nghttp2 related.
2015-05-20 22:50:58 +09:00
Tatsuhiro Tsujikawa 6a598d8fb8 python: Fix parellel `make distcheck` and not distribute nghttp2.c
It seems that setup.py gets deleted before python executes it in
clean-local.  To prevent this situation, we just use .NOTPARALLEL.

Previously we distribute nghttp2.c in python, which is cythonized C
source code from nghttp2.pyx.  Since it is distributed in archive it
exists in source directory.  But we use python distutils which
operates in build directory and does not support C source files in out
of tree directory (i.e., not under the build directory).  Copying C
source file to build directory is a bit dirty, so we just decided not
to ship nghttp2.c.
2014-04-21 00:51:12 +09:00
Tatsuhiro Tsujikawa ab2dc5967d Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
Tatsuhiro Tsujikawa ddf6162528 python: Use distutils to build/install python bindings
automake version is a bit picky about installation location and uses
different compiler flags from distutils. We prefer official distutils.
Now nghttp2.c, which is generated by cython, is distributed in
archive.
2014-02-27 00:58:21 +09:00
Tatsuhiro Tsujikawa 39aaad5ad8 Fix out-of-tree build for python 2014-02-11 23:41:25 +09:00
Tatsuhiro Tsujikawa 2e11f01ae6 python: Add -fno-strict-aliasing flag 2014-01-11 17:49:42 +09:00
Tatsuhiro Tsujikawa 47f20d5e83 Integrate Python bindings build into `make`
Now require python >= 2.7
2014-01-11 01:01:28 +09:00
Tatsuhiro Tsujikawa cd5043f68c python: Remove unnecessary variables 2013-12-18 21:17:32 +09:00
Tatsuhiro Tsujikawa 9d630901fa Add check for cython and substitute python and cython in Makefile.am 2013-12-16 21:46:50 +09:00
Tatsuhiro Tsujikawa 3c63936d3a Fix error on `make distcheck` 2013-12-15 16:36:43 +09:00
Tatsuhiro Tsujikawa 4e0ca71ef0 python: Add experimental python extension module
To build extension module, cython is required.
The module is not built with `make` in the top directory.
A user has to run `make build_ext` in python directory.
Currently header compression objects are available for testing.
2013-12-14 23:54:09 +09:00
Tatsuhiro Tsujikawa 0edce70343 Rebranding nghttp2 2013-07-13 00:43:06 +09:00
Tatsuhiro Tsujikawa adbf33c0b8 Add python wrapper to distribution 2012-08-28 22:07:43 +09:00