liftoff / pyminifier

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

Multiple Directories not working in Windows with Py3 and PyMinifier 2.1 #68

Closed sayak-brm closed 8 years ago

sayak-brm commented 8 years ago

Apparently, Wildcards -as shown in the docs- are not being supported on Windows.

Example: pyminifier -d "C:\Users\admin\Desktop\Projects\Python 3.5.1\sysAuth\New" "C:\Users\user\Desktop\Projects\abc\xyz\*.py" gives error OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\Users\\user\\Desktop\\Projects\\abc\\xyz\\*.py'.

However, when a definite filename in the directory is give, like "C:\Users\user\Desktop\Projects\abc\xyz\helloWorld.py", PyMinifier works perfectly.

This is not a problem with Linux, but for compatibility, I think a different method for going through directories should be used.

sayak-brm commented 8 years ago

Merging with Issue #45 .

sayak-brm commented 8 years ago

See #45 for more info.