2 Nov
2004
2 Nov
'04
8:43 a.m.
On Monday 01 November 2004 23:26, Steve wrote:
Could someone please explain (with possibly and example) how to build a pure-pyc-only binary rpm ??
Hack this in a wrapper script or something: In %install, after setup.py install --record=INSTALLED_FILES: sed 's/.*\.py$//' < INSTALLED_FILES >BINARY_FILES grep ".py$" INSTALLED_FILES >nukeit.tmp for f in `cat nukeit.tmp`; do rm -f $f done Then change %files: %files -f BINARY_FILES But, then again, distributing pyc is distributing the code too! (The bytecode) have fun, -- -jeff