File: SConscript

package info (click to toggle)
glob2 0.9.4.4-2.3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 34,452 kB
  • ctags: 10,285
  • sloc: cpp: 89,684; python: 868; ansic: 259; makefile: 62; sh: 49
file content (14 lines) | stat: -rwxr-xr-x 284 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import os
    
Import("env")
Import("PackTar")
    
    
if 'dist' in COMMAND_LINE_TARGETS:
    any=False
    for file in os.listdir("."):
        if file.find(".py") != -1:
            any=True
            PackTar(env["TARFILE"], file)
    
    PackTar(env["TARFILE"], "SConscript")