Source

pyd / dcompiler.py

Author Commit Message Labels Comments Date
ariovistus
pydexe support static built python cuz you can't link against *.so files that ain't there (or that are there, but with python pretending they ain't because you configured it weirdly, <i> Ubuntu </i>) Don't know if extensions need to be built differently in static built python or if they even can.
ariovistus
pydexe works on linux now for ldc and dmd. ran into some annoying inconsistencies with dmd linking. can build pyd as rpm now. added some unittests to hopefully rule out bad linking before I spend too much time puzzling over the error message. made runtests.py a bit more featureful. still needs to be implemented for python 3, though
ariovistus
added some compile flags unittest, property, string_imports
ariovistus
add pydexe command to celerid Now celerid can build d apps which embed python with pyd. Looks like --optimize was a bit flimsy, so shored that up. Removed some obsolete build flags (such as with-meta)
ariovistus
windows tup config also, pyd extensions weren't building for 3.2. still don't work
ariovistus
Oh, Ubuntu, how I love thee. A difference in configuration of ld on ubuntu vs fedora was causing phobos-ldc to not get linked in to extensions
ariovistus
added build_deimos extension flag fixed global data linking for ldc. missed an override for incoming 2.061 initialize pyd.RangeWrapper in extensions.
ariovistus
Fix issue 1. Linking to global vars from dll requires "extern export" attributes. Added appropriate unittest to deimos_unittests scons won't build things on windows (but if it did, it would build my unittests) added some powershell scripts for the meantime pyd.def wants util.conv's module info for some dumb reason Extension examples work again. dmd 2.060/win32 CeleriD should always supply infrastructure as…
ariovistus
switched pyd to use deimos headers. calling substitute_and_alias broke link, so it's out (sort of). embedding python works! fixed some holdovers in deimos.python.object
ariovistus
added d -> array.array conversion. moved numpy.ndarray conversion to pyd.extra.
ariovistus
hey, candydoc is nice. Add some doc to code merge dg_convert and lib_abstract into func_wrap got rid of some cruft duplicated in doc/ or the bitbucket wiki.
ariovistus
typo fix
ariovistus
celerid can now build on cygwin (though built things have problems yet)
ariovistus
We have operator overloading! ..at least for opBinary, opBinaryRight, opUnary, and opOpAssign. todo: opSlice, opIndex, opCmp, opEquals - should they be automatic or explicit? moved multi_index to util, which will contain assorted useful things.
ariovistus
added tuple Filter
ariovistus
I should read that readme more often
ariovistus
remove stackthreads support from celerid
ariovistus
Default can die, since we assume phobos always exists. missed some details when adding multi_index. Demangle needed some updating. Status now with linux 64 bit ldc2/dmd fe 2.059: arraytest, inherit, pyind, and rawexample work hello compiles and runs, but segfaults on exit testdll doesn't compile.
ariovistus
examples now compile and run, except testdll and inherit meta.Demangle is preventing testdll from compiling inherit is running, but then it segfaults, I guess when druntime tries to shut down
ariovistus
apparently Py_InitModule4 has some wonky stuff going on. added support for ldc2 hello world module is building, but bombing out with some enforce failing. druntime doesn't like to run without a _Dmain defined. hope this doesn't bite me later.
ariovistus
fixed up versioning scheme so Python_X_X_Or_Later actually does what you would expect
ariovistus
hello world! trying to resurrect pyd for a recent (~ dmd2.055) version of gdc. this is a d2 only build, and I'm hoping mostly to get it to work with python 2.7, although I am trying to make the python.d valid all the way back to 2.4.