Swig and distutils

2017-08-29 Thread Оlе Ѕtrеісhеr
Hi, I want to write a setup.py for a module from a swig source. The recommended way [1] does not work because it does not process the generated Python file. Searching on Stackoverflow gives an (ugly) workaround and the hint "this may be considered as a bug" [2]. However, I couldn't find a distuti

Re: multiprocessing.Queue() and missing sem_open

2015-02-06 Thread Оlе Ѕtrеісhеr
Chris Angelico writes: > On Fri, Feb 6, 2015 at 7:22 AM, Оlе Ѕtrеісhеr wrote: >> I am just trying to prepare a package (astropy) for (Debian) Hurd. This >> os lacks a sem_open() implementation. When I now try: >> >> import multiprocessing >> q = multi

multiprocessing.Queue() and missing sem_open

2015-02-05 Thread Оlе Ѕtrеісhеr
Hi, I am just trying to prepare a package (astropy) for (Debian) Hurd. This os lacks a sem_open() implementation. When I now try: import multiprocessing q = multiprocessing.Queue() I get an ImportError with Python 2.7, but an AttributeError with Python 3.4. In the documentation of multiprocessin