Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yurivict opened this issue Dec 17, 2018 · 4 comments
Open

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

yurivict opened this issue Dec 17, 2018 · 4 comments

Comments

@yurivict
Copy link

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
Copy link
Owner

tych0 commented Dec 17, 2018

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
Copy link
Author

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
Copy link
Owner

tych0 commented Dec 17, 2018

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
Copy link
Author

Srikes me this must be a bug in setuptools

Possibly.

uqs pushed a commit to freebsd/freebsd-ports that referenced this issue May 27, 2019
  - Update COMMENT, match upstream setup.py:description
  - Update USES=python, now only supports Python 3.x
  - Switch to autoplist (using --record), update pkg-plist to add missing
    files until resolved upstream [1][2][3][4]

Changelog:

  https://github.com/Kozea/cairocffi/blob/v1.0.2/NEWS.rst

[1] Kozea/cairocffi#108
[2] spatialaudio/python-sounddevice#116
[3] tych0/xcffib#92
[4] See Also: https://groups.google.com/forum/#!topic/python-cffi/oX2T_Y5m99I

PR:			237884
Reviewed by:		mat, dch (maintainer)
Approved by:		dch (maintainer)
Differential Revision:	D20352


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@502792 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit to freebsd/freebsd-ports that referenced this issue May 27, 2019
  - Update COMMENT, match upstream setup.py:description
  - Update USES=python, now only supports Python 3.x
  - Switch to autoplist (using --record), update pkg-plist to add missing
    files until resolved upstream [1][2][3][4]

Changelog:

  https://github.com/Kozea/cairocffi/blob/v1.0.2/NEWS.rst

[1] Kozea/cairocffi#108
[2] spatialaudio/python-sounddevice#116
[3] tych0/xcffib#92
[4] See Also: https://groups.google.com/forum/#!topic/python-cffi/oX2T_Y5m99I

PR:			237884
Reviewed by:		mat, dch (maintainer)
Approved by:		dch (maintainer)
Differential Revision:	D20352
Jehops pushed a commit to Jehops/freebsd-ports-legacy that referenced this issue May 27, 2019
  - Update COMMENT, match upstream setup.py:description
  - Update USES=python, now only supports Python 3.x
  - Switch to autoplist (using --record), update pkg-plist to add missing
    files until resolved upstream [1][2][3][4]

Changelog:

  https://github.com/Kozea/cairocffi/blob/v1.0.2/NEWS.rst

[1] Kozea/cairocffi#108
[2] spatialaudio/python-sounddevice#116
[3] tych0/xcffib#92
[4] See Also: https://groups.google.com/forum/#!topic/python-cffi/oX2T_Y5m99I

PR:			237884
Reviewed by:		mat, dch (maintainer)
Approved by:		dch (maintainer)
Differential Revision:	D20352


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@502792 35697150-7ecd-e111-bb59-0022644237b5
swills pushed a commit to swills/freebsd-ports that referenced this issue May 27, 2019
  - Update COMMENT, match upstream setup.py:description
  - Update USES=python, now only supports Python 3.x
  - Switch to autoplist (using --record), update pkg-plist to add missing
    files until resolved upstream [1][2][3][4]

Changelog:

  https://github.com/Kozea/cairocffi/blob/v1.0.2/NEWS.rst

[1] Kozea/cairocffi#108
[2] spatialaudio/python-sounddevice#116
[3] tych0/xcffib#92
[4] See Also: https://groups.google.com/forum/#!topic/python-cffi/oX2T_Y5m99I

PR:			237884
Reviewed by:		mat, dch (maintainer)
Approved by:		dch (maintainer)
Differential Revision:	D20352


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@502792 35697150-7ecd-e111-bb59-0022644237b5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants