mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
change Mac creator/type
This commit is contained in:
parent
6cb84f3cde
commit
dc42b8aa3d
@ -27,5 +27,5 @@ def compile(file, cfile = None):
|
||||
fc.close()
|
||||
if os.name == 'mac':
|
||||
import macfs
|
||||
macfs.FSSpec(cfile).SetCreatorType('PYTH', 'PYC ')
|
||||
macfs.FSSpec(file).SetCreatorType('PYTH', 'TEXT')
|
||||
macfs.FSSpec(cfile).SetCreatorType('Pyth', 'PYC ')
|
||||
macfs.FSSpec(file).SetCreatorType('Pyth', 'TEXT')
|
||||
|
Loading…
Reference in New Issue
Block a user