Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
git-svn-id: https://visionegg.org/svn/trunk/visionegg@1358 3a63a0ee-37fe-0310-a504-e92b6e0a3ba7
  • Loading branch information
astraw committed Jan 8, 2006
1 parent b5f9a2e commit 9e089a6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build-demo-dir.py
@@ -0,0 +1,13 @@
import sys, os, glob

demos = glob.glob('demo/*.py') + ['check-config.py'] + glob.glob('test/*.py')
outdir = 'demo-dist'
os.mkdir(outdir)
os.mkdir(os.path.join(outdir,'test'))
for d in demos:
if d.startswith('test'):
newname = os.path.join(outdir,d)
else:
newname = os.path.join(outdir,os.path.split(d)[-1])
print d
os.link(d,newname)

0 comments on commit 9e089a6

Please sign in to comment.