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} leaves a stray record in the plist #455

Closed
yurivict opened this issue May 24, 2018 · 7 comments
Closed

--record {plist} leaves a stray record in the plist #455

yurivict opened this issue May 24, 2018 · 7 comments

Comments

@yurivict
Copy link

The plist file that is recorded by the --record command leaves this string:

/usr/local/lib/python2.7/site-packages/sfepy/meshes/

that shouldn't be in plist.

Found while trying to create the FreeBSD port. The error:

====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: %%PYTHON_SITELIBDIR%%/sfepy/meshes/
===> Error: Plist issues found.
@yurivict yurivict changed the title --record {plist} leaves a stray record --record {plist} leaves a stray record in the plist May 24, 2018
@rc
Copy link
Member

rc commented May 25, 2018

What is the problem, and what can we do to fix that?

@yurivict
Copy link
Author

What is the problem

Stray file in plist.

what can we do to fix that?

Remove it.

@rc
Copy link
Member

rc commented May 25, 2018

Well, what is a plist?

@yurivict
Copy link
Author

Well, what is a plist?

The command
python setup.py --record=plist.txt

creates the file plist.txt that contains the list of installed files.
This is a standard feature of distutils.

@rc
Copy link
Member

rc commented May 25, 2018

I see, thanks. If I try running (with distutils 2.7.12)

 python setup.py install --record=plist.txt --user

on a linux box, the generated file does not contain the .../sfepy/meshes/ directory - there are only the files .../sfepy/meshes/{filename}. Do you have an idea, why the problem happens on your platform?

@yurivict
Copy link
Author

yurivict commented Jun 8, 2018

I don't know why this happens on FreeBSD.

@rc
Copy link
Member

rc commented Sep 25, 2019

Closing old issues without solution/new discussion.

@rc rc closed this as completed Sep 25, 2019
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