blob: 1cf2ee78992edca30938969738b26eeace62b092 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
diff --git a/setup.py b/setup.py
index bfefba1..ea09efc 100755
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,6 @@
#! /usr/bin/env python
from distutils.core import setup
-from distutils.util import byte_compile
from distutils.command.build import build
from distutils.command.install_data import install_data
@@ -32,18 +31,6 @@ class camfr_build(build):
class camfr_install_data(install_data):
def run(self):
- # Byte-compile Python files.
-
- scripts = []
-
- for i in self.data_files:
- for j in i[1]:
- if j[-2:] == "py":
- scripts.append(j)
- i[1].append(j+'c')
-
- byte_compile(scripts)
-
# Change install dir to library dir.
install_cmd = self.get_finalized_command('install')
|