Modify ↓
Ticket #434 (closed defect: invalid)
Permission denied: '/usr/lib/python2.6/site-packages/M2Crypto/PGP/__init__.pyc'
| Reported by: | htgoebel | Owned by: | htgoebel |
|---|---|---|---|
| Priority: | normal | Milestone: | PyInstaller 2.0 |
| Component: | PyInstaller | Version: | develop |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by htgoebel) (diff)
My system (Mandriva 2010) does not install .pyc files for python-m2crypto, only the .py files are there.
When packaging a project requiring one of these modules, PyInstaller? fails with e.g. Permission denied: '/usr/lib/python2.6/site-packages/M2Crypto/PGP/__init__.pyc'. This is correct, since a normal user must not write there. And the real problem is the RPM, which is missing content.
Anyway we need to implement a work-around for such a case.
E.g. the file could be compiled into a temporary file.
This is the place to change:
File "./Build.py", line 289, in assemble
py_compile.compile(fnm[:-1])
Attachments
Change History
comment:3 Changed 14 months ago by htgoebel
- Status changed from new to closed
- Resolution set to invalid
Invalid:
- At the time this ticket was created, there was no such code in the repo. (At least I can not find it today.)
- It is not reprocessable as of today.
- Code for handling this case is in PyInstaller? since approx. 2009-01-07.
Note: See
TracTickets for help on using
tickets.
