-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup_multiphonon.py
executable file
·47 lines (36 loc) · 1.11 KB
/
setup_multiphonon.py
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/env python
def preparePackage( package, sourceRoot = "." ):
package.changeRoot( sourceRoot )
#------------------------------------------------------------
#dependencies
#
#------------------------------------------------------------
#--------------------------------------------------------
# now add subdirs
#
#multiphonon
package.addPurePython(
sourceDir = 'src',
destModuleName = 'multiphonon' )
#multiphonon.applications
package.addPurePython(
sourceDir = 'applications',
destModuleName = 'multiphonon.applications' )
#apps
package.addScripts(sourceFiles = [
"applications/GetDOS.py",
"applications/wxGetDOS.py",
] )
#data
package.addData(
sourceDir = "share",
destDir = "multiphonon"
)
return package
if __name__ == "__main__":
#------------------------------------------------------------
#init the package
from distutils_adpt.Package import Package
package = Package('multiphonon', '0.1.0a')
preparePackage( package )
package.setup()