[oi-dev] Bypassing check for inexistent python .pyc files in IPS manifests.

Adam Števko adam.stevko at gmail.com
Mon Nov 18 08:18:36 UTC 2013


HI guys,

I creaetd IPS packaging FAQ on the wiki and added this question. 

URL: http://wiki.openindiana.org/oi/IPS+Packaging+FAQ

I also encourage other people to add other questions and answers there. This way, we can build a comprehensive list over time and solving troubles will be easier for people/newcomers. 

Cheers,
Adam

On Nov 18, 2013, at 8:55 AM, Aurélien Larcher <aurelien.larcher at gmail.com> wrote:

> Hi Alexander,
> thank you for your quick answer !
> In this case indeed there should not be a .pyc file.
> Is there a place on the wiki where this kind of information could be added ?
> Best regards,
> 
> Aurélien
> 
> 
> On Mon, Nov 18, 2013 at 8:46 AM, Alexander Pyhalov <alp at rsu.ru> wrote:
> Hello.
> 
> 
> On 11/18/2013 11:34, Aurélien Larcher wrote:
> 
> After looking for a solution I came across the following solution to
> indicate not to seek a .pyc file:
> 
> file path=usr/lib/Modules/$(COMPONENT_VERSION)/init/python.py
> pkg.tmp.autopyc=false
> 
> Is it correct or is there a preferred way to achieve that ?
> Best regards,
> 
> 
> Yes, usually you have two options: make package generate *.pyc files or set this option. Sometimes package just is not supposed to do it. In this case autopyc=false is a solution.
> -- 
> Best regards,
> Alexander Pyhalov,
> system administrator of Computer Center of Southern Federal University
> 
> 
> 
> -- 
> -------------------------------------------------------------------------------
> LARCHER Aurélien            | KTH, School of Computer Science and Communication
> Work: +46 (0) 8 790 71 42   | Lindstedtsvägen 5, Plan 5
> Mob.: +46 (0) 7 09 46 40 17 | 100 44 Stockholm, SWEDEN
> -------------------------------------------------------------------------------
> Praise the Caffeine embeddings ...
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20131118/a889d5df/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20131118/a889d5df/attachment-0005.bin>


More information about the oi-dev mailing list