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
|
--- setup.py.orig 2006-08-09 23:27:42.000000000 +0200
+++ setup.py 2006-08-09 23:28:02.000000000 +0200
@@ -6,10 +6,7 @@
import os
from os.path import join
-try:
- amanith_base = os.environ["AMANITHDIR"]
-except:
- amanith_base = "amanith"
+amanith_base = "/usr"
debug = False
libs = ["amanith"]
@@ -42,8 +39,8 @@
# Ultimately this should use patch(1) or something, but for now
# we just copy the stuff over.
if not os.path.isdir(join("build", "amanith")):
- os.makedirs(join("build", "amanith"))
- shutil.copytree(join(amanith_base, "include"), join("build", "amanith", "include"))
+ os.makedirs(join("build", "amanith", "include"))
+ shutil.copytree(join(amanith_base, "include/amanith"), join("build", "amanith", "include", "amanith"))
self.copy("changes", join("build", "amanith"))
_build_ext.run(self)
|