tych0 / xcffib

A drop-in replacement for xpyb based on cffi
Apache License 2.0
93 stars 26 forks source link

--record {plist} doesn't record 3 installed files #92

Open yurivict opened 5 years ago

yurivict commented 5 years ago

It installs these 3 files w/out adding them to plist:

%%PYTHON_SITELIBDIR%%/xcffib/_ffi.py
%%PYTHON_SITELIBDIR%%/xcffib/_ffi.pyc
%%PYTHON_SITELIBDIR%%/xcffib/_ffi.%%PYTHON_PYOEXTENSION%%

See the --record=FILENAME feature description: https://setuptools.readthedocs.io/en/latest/easy_install.html

tych0 commented 5 years ago

Thanks for the report. It's not totally clear to me what the right fix is, though? I don't understand the plist or where it is output to.

yurivict commented 5 years ago

When setup.py install is run, one can optionally supply --record plist.txt and it would save the list of installed files into plist.txt.

tych0 commented 5 years ago

Srikes me this must be a bug in setuptools, because cffi_modules doesn't append the files it installs?

I suppose we could just hack it by re-opening whatever the --record argument was and appending these files manually.

yurivict commented 5 years ago

Srikes me this must be a bug in setuptools

Possibly.