[Python-bugs-list] [ python-Feature Requests-793069 ] Add --remove-source option

SourceForge.net noreply at sourceforge.net
Fri Sep 12 15:18:02 EDT 2003


Feature Requests item #793069, was opened at 2003-08-22 06:08
Message generated for change (Comment added) made by jemfinch
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=793069&group_id=5470

Category: Distutils
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David Fraser (davidfraser)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add --remove-source option

Initial Comment:
For distributing non-opensource software, it is helpful

to just distribute the .pyc/.pyo files and not the

original .py files.

The reverse (just distributing .py files) is possible

through the --no-target-compile and

--no-target-optimize switches to the distutils bdist

command.

We have added a --remove-source option which goes

through and deletes all the source files from the build

directory. This has been tested and works smoothly with

Python 2.2.3 and seems to apply cleanly to Python 2.3

----------------------------------------------------------------------

Comment By: Jeremy Fincher (jemfinch)
Date: 2003-09-12 15:18

Message:
Logged In: YES 
user_id=99508

It's someone trivial to retrieve the source code from a

compiled bytecode module; distributing only the bytecode

files does practically nothing to protect your source code.



Check out http://www.crazy-compilers.com/decompyle/

----------------------------------------------------------------------

Comment By: David Fraser (davidfraser)
Date: 2003-08-22 06:34

Message:
Logged In: YES 
user_id=221678

Added a patch for this (sorry, probably should have just

done that) as 793070:

https://sourceforge.net/tracker/?func=detail&aid=793070&group_id=5470&atid=305470

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=793069&group_id=5470



More information about the Python-bugs-list mailing list