|
|
2010-04-29
, 18:43
|
|
|
Posts: 128 |
Thanked: 232 times |
Joined on Sep 2009
@ New Jersey, USA
|
#51
|
|
|
2010-04-29
, 23:52
|
|
Posts: 1,208 |
Thanked: 1,028 times |
Joined on Oct 2007
|
#52
|
An alternative for handling this ^ is in the postinst/postrm script on the device, that way the debs are kept smaller and apt needs to track less files (at the cost of doing that yourself and a longer install time). Plus, should a system update be shipped with a pyc incompatible Python version, reinstalling the packages updates the pyc/pyo-s without any maintainer intervention.
| The Following 7 Users Say Thank You to mikkov For This Useful Post: | ||
|
|
2010-04-30
, 07:30
|
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#53
|
|
|
2010-04-30
, 14:11
|
|
Posts: 144 |
Thanked: 134 times |
Joined on Jan 2010
@ Hamburg
|
#54
|
| The Following User Says Thank You to mbo For This Useful Post: | ||
|
|
2010-04-30
, 14:17
|
|
|
Administrator |
Posts: 1,036 |
Thanked: 2,019 times |
Joined on Sep 2009
@ Germany
|
#55
|
|
|
2010-04-30
, 20:58
|
|
Posts: 82 |
Thanked: 214 times |
Joined on Jan 2010
@ Cape town
|
#56
|
|
|
2010-05-04
, 21:17
|
|
|
Posts: 128 |
Thanked: 232 times |
Joined on Sep 2009
@ New Jersey, USA
|
#57
|
|
|
2010-05-04
, 21:56
|
|
Posts: 144 |
Thanked: 134 times |
Joined on Jan 2010
@ Hamburg
|
#58
|
| The Following User Says Thank You to mbo For This Useful Post: | ||
|
|
2010-05-05
, 06:39
|
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#59
|
| The Following 3 Users Say Thank You to attila77 For This Useful Post: | ||
|
|
2010-05-05
, 06:43
|
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#60
|
Afaik you should not hack something "always on" in python as it is not able to properly free ram and will cause to slow down your system! Is the daemon running in background coded in python?

| The Following User Says Thank You to Khertan For This Useful Post: | ||
![]() |
| Tags |
| performance, python |
|