1. Moises Henriquez
  2. vasm

Commits

Moises Henriquez  committed 28c11fb

Avoid creation of .pyc files on execution

  • Participants
  • Parent commits bda6a9c
  • Branches default

Comments (0)

Files changed (2)

File setup.py

View file
  • Ignore whitespace
 
 # vasm setup script script.
 from setuptools import setup
+import compileall
 
+def byte_compile_code():
+    return compileall.compile_dir('src/')
+
+byte_compile_code()
 version = '3.0a1'
 long_description = """\
 Vectorlinux's Administration & System Menu (Alpha release). 

File src/vasm/vasm

View file
  • Ignore whitespace
-#!/usr/bin/env python
+#!/usr/bin/env python -B
 
 #    This file is part of VASM.
 #