liftoff / pyminifier

Pyminifier is a Python code minifier, obfuscator, and compressor.
GNU General Public License v3.0
1.45k stars 224 forks source link

Add option to not prepend "Created by ..." #11

Open pedrotanaka opened 10 years ago

pedrotanaka commented 10 years ago

It would be useful to make the "Created by ..." optional.

# Created by pyminifier (https://github.com/liftoff/pyminifier)
liftoff commented 10 years ago

I don't think I'm going to remove that... For two reasons:

1) It's trivially easy to just grep that out of the final output. 2) It lets people know how the code was minified so others can learn about pyminifier.

If enough people complain about it though (get some folks to comment on this issue) I may be willing to change my mind :smile:

dn0 commented 10 years ago

I'm actually using this patch - dn0@efc41d10d19e47d15786424b819db6bf385d8ba2 to remove the comment. Making it optional would be nice.

d4rkcat commented 9 years ago

LOL if you don't know how to find the piece of code responsible for inserting the comment and remove it then you don't deserve to have it removed!

mike-rsi commented 5 years ago

Kind of ironic (hypocritical?) behaviour of a self-proclaimed minifier. I can think of an easy fork that would be 64 bytes more efficient on every file processed. 😆