[python-win32] pywin32 setup.py forgets win32/lib
Christian Tismer
tismer at stackless.com
Tue Nov 12 20:51:27 CET 2013
On 11/11/13 08:51, Mark Hammond wrote:
> On 11/11/2013 10:23 AM, Christian Tismer wrote:
>> Hi Mark,
>>
>> Yes, I understand very well, knowing the patching dance so much more
>> than I'd like to...
>>
>> In fact, 'win32/lib' is a folder, actually the only one which is not
>> also a
>> package, and exactly this one does not show up in the install logs.
>>
>> I have the impression that setuptools changed policy about 'py_modules',
>> if 'packages' is given, too. So I think 'win32/lib' is the only problem
>> here, because
>> it is the only thing that is not a package.
>
> That makes sense - although it probably also means that .pyc files etc
> may not generated. I wonder if it might be better to see if we can
> trick setuptools such that we add a dummy package so at least
> everything special it does for packages is also done for these files?
>
> Or maybe we should reach out to setuptools - it might simply be an
> accidentally introduced bug.
Yes, there can be a better patch. On the other hand, nowadays there is
no need
to precompile. If people use it in py2exe or pyinstaller, it will get
compiled, anyway.
It might be interesting for system-wide installs. But again, most people
use virtualenv...
Anyway, a minor point for me if you have a better way to trick setuptools.
I agree that this should be discussed with the distutils people. Not
sure if I
should do that. They broke your project, but nobody cares because the
builds are there :-)
Please let me know how you will do it. Actually I have one or two other
things
to dicuss with you...
cheers & thanks -- chris
--
Christian Tismer :^) <mailto:tismer at stackless.com>
Software Consulting : Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121 : *Starship* http://starship.python.net/
14482 Potsdam : PGP key -> http://pgp.uni-mainz.de
phone +49 173 24 18 776 fax +49 (30) 700143-0023
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
More information about the python-win32
mailing list