Jussi Pakkanen
54808cd39b
Fix purelib and platlib validation in Python3 module.
3 years ago
Filipe Laíns
59b8e00249
tests: take into account Debian Python paths
...
Signed-off-by: Filipe Laíns <lains@riseup.net>
3 years ago
Eli Schwartz
6a0fabc647
mass rewrite of string formatting to use f-strings everywhere
...
performed by running "pyupgrade --py36-plus" and committing the results
4 years ago
Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Gerion Entrup
1c74bbbfb3
test cases/python3/3 cython: fix dependency files
...
The Cython generation depends on cstorer.pxd as well, so add that as
dependency.
5 years ago
Jussi Pakkanen
ad1cfbe7ec
Disable extension module tests with Python 3.8 and VS2015.
5 years ago
Jon Turney
dadf6e2233
Tests for version constraints on custom lookup dependencies
6 years ago
Nirbheek Chauhan
7586a4ac09
tests/python/4: Test that custom target depends add PATH
7 years ago
Anonymous Maarten
b715276cc7
tests: test getting python module using pkg-config
7 years ago
Guillaume Poirier-Morency
987e5b743c
python3: Fix tests on Windows as it uses 'Lib' and 'Include'
7 years ago
Guillaume Poirier-Morency
2653000ac7
python3: Add tests for platform-dependant paths and cover include path
7 years ago
Patrick Griffis
86644bbdfc
python3: Add tests for sysconfig_path() and language_version()
8 years ago
Jussi Pakkanen
6ac9a8e738
Add .find_python() method. Supersedes #777 .
8 years ago
Jussi Pakkanen
24221d71cc
Created a Python 3 module for simpler building of Python extension modules.
8 years ago
Nirbheek Chauhan
2c5680d721
python3 dep: Check arch of libraries before using
...
On Windows, we can build with both 32-bit and 64-bit compilers, but the
Python is either 32-bit or 64-bit. Check the architecture of the found
Python libraries and don't use them if they don't match our
build_machine.
Also skip the tests if the Python 3 dependency is not found.
8 years ago
Jussi Pakkanen
5603f90287
Allow tests to mark themselves as skipped during runtime.
8 years ago
Jussi Pakkanen
efceac497f
Python extension module finally works on Windows.
9 years ago
Jussi Pakkanen
40d70e1b15
Skip cython test if it does not exist.
9 years ago
Jussi Pakkanen
a04c33e125
Can build Python extension on OSX.
9 years ago
Jussi Pakkanen
16b9a52235
Fix cython to work on platforms other than latest Ubuntu.
9 years ago
Jussi Pakkanen
738f7f860c
Added Cython sample project.
9 years ago
Jussi Pakkanen
98d00386b1
Can build a Python extension module.
9 years ago
Jussi Pakkanen
a8120eb519
Added plain Python sample project.
9 years ago