Commit Graph

34 Commits

Author SHA1 Message Date
arvidn 819a9b0943 remove configure.ac hack where supposed arguments are spliced out of CXX into CXXFLAGS 2017-08-08 08:50:13 +02:00
Bernhard M. Wiedemann 72f8ad9756 sort input files
when building packages (e.g. for openSUSE Linux)
(random) filesystem order of input files
influences ordering of functions in the output,
thus without the patch, builds (in disposable VMs) would differ.

See https://reproducible-builds.org/ for why this matters.
2017-05-30 13:18:18 -04:00
Calum Lind d32ed4b9de Fixup python code in bindings to pass PEP8 codestyle
* Passes Flake8 default settings.
 * Tabs replace spaces
 * Ensure print_function available for python2
2017-01-21 00:21:54 -05:00
Calum Lind 9b30d09099 [#1543] Fix missing C++11 flag for building python bindings
* Extract the flags from CXX and put into CXXFLAGS which is
   passed into setup.py extra_compile_args.
 * Remove now redundant os.environ test in setup.py
2017-01-14 19:30:25 -05:00
arvidn a2c4e7490e merged RC_1_1 into master 2016-12-20 01:16:13 -05:00
arvidn a39f3714b2 fix python build with CC/CXX environment 2016-12-08 18:39:43 -05:00
arvidn e247473b86 bump version number 2016-08-13 07:12:23 -04:00
Arvid Norberg 30873e9c91 build python bindings with autotools on travis (#991)
build python bindings with autotools on travis
2016-08-10 14:20:15 -04:00
arvidn 42b3fbe20a merged RC_1_1 into master 2016-08-07 17:23:40 -04:00
Calum Lind 6c0f4cc082 Fix reoccurrence of py bindings -Wstrict-prototype warning (#959)
* Recent commit df368c2d15 has allowed the -Wstrict-prototype flag to
once again be passed to gcc so this fix removes all occurrences not just from 'OPT'.
2016-07-27 19:19:24 -04:00
Alden Torres 7446a88425 version to 1.2 (#924)
update version to 1.2
2016-07-20 11:29:24 -07:00
Arvid Norberg 97bdb4ba25 don't support c++98 anymore. build bt-get and bt-get2 by default (which require C++11). simplify address-model configuration in appveyor script. enable msvc-14 builds. use boost 1.59 on appveyor (#618) 2016-04-24 09:17:58 -04:00
Steven Siloti df368c2d15 more robust flags parsing in python bindings
The flags supplied by libraries cannot be relied upon to be sane so
they all must be run through a parser to make sure search paths are
specified in the correct order.
2016-02-15 15:19:37 -08:00
Calum Lind 9c3193c9c1 [Bindings/Python] Silence '-Wstrict-prototypes' warnings
* Fixes #277
   * This commit removes -Wstrict-prototypes configure option from 'OPT' envvar
     that is added by distutils from reading /usr/lib/pythonX.Y/config/Makefile.
2015-11-21 14:04:27 +00:00
arvidn a9821216bf revert py_libtorrent renaming for python binding 2015-09-24 05:19:29 -07:00
arvidn cc29a99c90 (merge commit from Andrew Starr-Bochicchio <asb@debian.org>) Running setup.py without LDFLAGS or explicitly passing includes will attempt to use bjam. This causes "python setup.py clean -a" to fail when building the package. 2015-08-27 06:52:13 -04:00
arvidn a854fed12b simplify Jamfile by determining whether to use boost from source or from system installed version based on the BOOST_ROOT environment variable. This removes the build feature boost=source/boost=system 2015-08-08 19:18:05 -04:00
Dāvis 292b5fd588 Fix out of srcdir build 2015-08-03 18:14:06 +03:00
arvidn edf5e5eefc use LD_LIBRARY_PATH to try to make the python test find libtorrent.so 2015-07-27 23:09:24 -07:00
Arvid Norberg 8b4dcb2959 merged changes from RC_1_0 2014-11-28 04:53:21 +00:00
Arvid Norberg 1c91903c9c merged fixes from RC_1_0 2014-11-27 03:05:06 +00:00
Arvid Norberg 53ba0067f9 another setup.py fix 2014-11-14 09:41:00 +00:00
Arvid Norberg e1d0592a57 merged changes from RC_1_0 2014-11-14 09:35:39 +00:00
Arvid Norberg 907dc9dddd merged changes from RC_1_0 2014-10-22 07:05:10 +00:00
Arvid Norberg fce967b5fb merged changes from RC_1_0 to change email address from @rasterbar.com to @libtorrent.org 2014-10-14 02:06:20 +00:00
Arvid Norberg 7bc35c1e63 merged changes from RC_1_0 2014-08-27 06:18:02 +00:00
Arvid Norberg 48ea42c990 merged changes from RC_1_0 2014-08-27 05:57:37 +00:00
Arvid Norberg 7351389ce8 land libtorrent_aio branch in trunk 2014-07-06 19:18:00 +00:00
Arvid Norberg 2028a16d87 make setup.py work well with both automake and bjam 2014-05-11 22:51:06 +00:00
Arvid Norberg 45f3fa4696 simplified setup.py to always build the bindings using bjam 2014-03-23 07:34:18 +00:00
Arvid Norberg 551a1bec2c merged in [2962] from RC_0_14 2008-11-21 04:09:34 +00:00
Arvid Norberg c0f82a730e updated setup.py and documentation for python bindings (thanks will guaraldi) 2008-10-17 07:42:17 +00:00
Arvid Norberg c65919f43d setup.py works on mac with boost 1.35 now. Still needs work to be portable 2008-10-04 20:57:48 +00:00
Arvid Norberg b8ce56f3ee added first version of setup.py for the python bindings 2008-10-04 08:26:21 +00:00