[Cython] Python 3 wheels including bytecode files.

Stefan Behnel stefan_ml at behnel.de
Sat Oct 3 14:30:22 CEST 2015


Lisandro Dalcin schrieb am 02.10.2015 um 16:24:
> On 2 October 2015 at 17:01, Stefan Behnel wrote:
>> Lisandro Dalcin schrieb am 02.10.2015 um 15:18:
>>> On 2 October 2015 at 15:07, Lisandro Dalcin wrote:
>>>> On 2 October 2015 at 14:30, Stefan Behnel wrote:
>>>>> Ah - note that Python 3.2 still uses the unicode fixer of 2to3, so the code
>>>>> is not entirely legacy. Would be nice if it could be moved out of the way,
>>>>> though. Especially since it will eventually disappear entirely.
>>>>
>>>> Yes, I'm aware of this. I'll push a fix in branch 0.23.x (I'm doing my
>>>> tests in OS X), then see what happens with the AppVeyor builds.
>>>
>>> AppVeyor builds succeeded:
>>> https://ci.appveyor.com/project/cython/cython/build/0.23.x-4
>>>
>>> The Python 3 wheels no longer have *.pyc files, so I'm confident this
>>> is fixed for other platforms as well.
>>>
>>> Stefan, could you manage to merge branch 0.23.x into master?
>>
>> Done, thanks! github just told me that my merge landed as commit 11111. :)
>>
>> I also changed a couple of minor things:
>>
>> https://github.com/cython/cython/commit/64da2480e88d8cd3eec2b9a5d2922307623c3cd5
> 
> I don't like your change. Before, the self-cythonization was triggeres
> when you actually needed to compile the extensions, now a simple
> "setup.py --version" will do.

Thanks, hadn't thought of that.

https://github.com/cython/cython/commit/0a2e03f9f41fb405055afd7aa0bb57286293a3f6


>>> PS: At some point, we should try to really run the testsuite in AppVeyor.
> Right now, the "test" step in AppVeyor invokes "python setup.py test",
> which basically does nothing. I mean, you should run "python
> runtests.py" intead.
> https://github.com/cython/cython/blob/0.23.x/appveyor.yml#L73

Let's try it in master first.

https://github.com/cython/cython/commit/bc88b4ae02510d68014839769a1ed47faa7af077

Stefan



More information about the cython-devel mailing list