summaryrefslogtreecommitdiff
path: root/cffi/ffiplatform.py
Commit message (Collapse)AuthorAgeFilesLines
* move _hack_at_distutils from global to per-functionfind-vcvarsMatti Picus2017-04-251-3/+2
|
* fix for importing setuptools on win32Matti Picus2017-04-201-0/+13
|
* Move back "import cparser" to FFI.__init__, because that module onlyArmin Rigo2017-01-201-1/+1
| | | | needs to be imported if we instantiate FFI (admittedly, very often)
* Avoid cyclic imports by moving exceptions to a separate moduleRonan Lamy2017-01-201-10/+1
|
* - add ffi.compile(debug=flag)Armin Rigo2016-09-031-3/+6
| | | | | - this small addition, and a few others not in pypy 5.4, will make the next cffi release v1.8.1
* Trying a different hack: stop patching SO and EXT_SUFFIX inArmin Rigo2016-01-161-41/+3
| | | | | | sysconfigdata, and instead patch directly a method in distutils.command.build_ext. Motivation: Windows, where the previous solution makes it add the wrong 'init...' in exports_symbols
* refactor details, start writing docsArmin Rigo2016-01-131-18/+6
|
* two tests pass on windows! progressArmin Rigo2016-01-121-0/+1
|
* More Windows hacksArmin Rigo2016-01-121-3/+25
|
* Test and fixArmin Rigo2016-01-121-2/+2
|
* Found out how to control the extension of distutils-built libraries.Armin Rigo2016-01-121-3/+30
| | | | Use a more suitable value by default when building embedded libraries.
* ffi.compile(verbose=True)Armin Rigo2015-12-061-5/+10
|
* use normpath() on the sources; otherwise, if there is "foo/../" in theArmin Rigo2015-12-061-1/+2
| | | | | | path, distutils will create a temporary directory without a "foo" subdirectory, but still pass the full path to gcc, which can't write there (thanks Phyks)
* remove _hack_at_distutils which imports setuptools on win32, it has too many ↵mattip2015-10-111-11/+0
| | | | | | side effects. Not needed since 1.0 since developers can distribute binary packages, even on win32
* More Windows-specific hackArmin Rigo2015-04-301-0/+1
|
* Obscure workaround for https://bugs.python.org/issue23246 on Python 2.7.9Armin Rigo2015-04-261-1/+11
|
* Must also make 'sources' relative.Armin Rigo2014-12-301-1/+1
|
* Add the keyword "relative_to=..." to verify(), as perArmin Rigo2014-12-241-0/+3
| | | | https://bitbucket.org/cffi/cffi/pull-request/53
* issue #154: Mingw32 fixesArmin Rigo2014-04-261-0/+1
|
* Python 3.Armin Rigo2012-11-301-1/+2
|
* We need to take all **kwds and stick them into the hash too.Armin Rigo2012-11-301-0/+32
|
* 90% of a fix for issue #40.Armin Rigo2012-11-191-0/+18
|
* Don't use os.chdir(). Instead, give the tmpdir as optionsArmin Rigo2012-09-171-14/+4
| | | | to distutils, which seems to work.
* Support for "sources=[..]" in verify(), as per Daniel Holth's suggestionArmin Rigo2012-08-181-2/+4
| | | | (issue #17). Test.
* An attempt to port cffi to python3.Amaury Forgeot d'Arc2012-07-291-1/+1
| | | | Most tests are passing, yeah!
* Bah, no os.path.samefile() on WindowsArmin Rigo2012-07-271-1/+7
|
* Fixes. It's a bit hacking-until-it-works, but well, it seems to work :-/Armin Rigo2012-07-161-0/+9
|
* Add and document some control over the temporary directory.Armin Rigo2012-07-161-13/+0
|
* Final fixes.Armin Rigo2012-07-151-5/+8
|
* Progress.Armin Rigo2012-07-151-11/+4
|
* tweakArmin Rigo2012-07-041-1/+1
|
* - Fixes to silence all -Wall warnings that now show up.Armin Rigo2012-06-151-1/+7
| | | | - Fixes to the tests to crash upon warnings too.
* Use distutils. Took me a while to figure out these lines.Armin Rigo2012-06-151-0/+33
|
* Fixed the docstring of ffi.verify() to document the new idea.Armin Rigo2012-06-121-10/+17
| | | | Starting on generating the CPython C extension.
* Linux-only tweaks until the test passes.Armin Rigo2012-06-081-8/+13
|
* Random check-in changing things here and there.Armin Rigo2012-06-081-1/+0
|
* Rename the package from "ffi" to "cffi".Armin Rigo2012-06-051-0/+20
Use local imports inside the package; anyway it has no chance to work on Python < 2.6 because pycparser doesn't.