Permalink
Browse files

remove codedep (transferred to separate repo)

Ignore-this: ad06cd6f0e7ed5212b059e3c8f22c406

darcs-hash:20130717041054-3a4db-bd627ce70d1cfbefe9096a2beaada918eedc281e
  • Loading branch information...
1 parent 2577269 commit 90b0a8e5919e3af816dad5120e17104b187569a7 @MattShannon committed Jul 17, 2013
Showing with 2 additions and 702 deletions.
  1. +2 −0 README.markdown
  2. +0 −29 check_codedep.sh
  3. +0 −12 codedep/__init__.py
  4. +0 −444 codedep/check_deps.py
  5. +0 −53 codedep/compute.py
  6. +0 −118 codedep/decorators.py
  7. +0 −18 codedep/hash.py
  8. +0 −28 codedep/test_codedep.py
View
@@ -33,6 +33,7 @@ armspeech has the following dependencies:
(for example, by the HTS demo)
- if you want to generate audio, STRAIGHT vocoder (which requires MATLAB)
- if you want to generate audio, an appropriate HTS demo-style `Config.pm` file
+- the [codedep][codedep] package for code-level dependency tracking
- python (>= 2.6) with recent numpy, scipy and matplotlib
- if using the HTS demo to generate the required files above (recommended),
you should use the STRAIGHT version of the English speaker dependent training
@@ -95,3 +96,4 @@ The author of armspeech is [Matt Shannon](mailto:matt.shannon@cantab.net).
[straight]: http://www.wakayama-u.ac.jp/~kawahara/STRAIGHTadv/index_e.html
[arctic]: http://festvox.org/cmu_arctic/
[gpml]: http://www.gaussianprocess.org/gpml/code/matlab/doc/index.html
+[codedep]: https://github.com/MattShannon/codedep
View
@@ -1,29 +0,0 @@
-#!/bin/bash
-set -e
-set -u
-set -o pipefail
-
-tmpDir=`mktemp -d`
-echo "(using temporary dir $tmpDir)"
-
-for pyFile in "$@"; do
- moduleName="`echo "$pyFile" | sed -r 's%^\./%%;s%/%.%g;s/\.py$//'`"
- echo
- echo "(moduleName = $moduleName, pyFile = $pyFile)"
- echo
- pyFileNew="$tmpDir"/"`basename "$pyFile"`"
-
- PYTHONPATH=. python -m "codedep.check_deps" . "$moduleName" > "$pyFileNew"
-
- if [[ "`diff -q "$pyFile" "$pyFileNew"`" != "" ]]; then
- # (below works around vim's "Input is not from a terminal" warning)
- { echo "$pyFile"; echo "$pyFileNew"; } | xargs -d '\n' bash -c '</dev/tty vimdiff "$@"' ignoreme
- else
- echo "(no change)"
- fi
-
- rm -f "$pyFileNew"
- echo
-done
-
-rmdir "$tmpDir" && echo "(cleaned-up temporary dir $tmpDir)"
View
@@ -1,12 +0,0 @@
-"""Implements code-level dependency tracking."""
-
-# Copyright 2011, 2012, 2013 Matt Shannon
-
-# This file is part of armspeech.
-# See `License` for details of license and warranty.
-
-
-from __future__ import division
-
-from codedep.decorators import codeHash, codeDeps, ForwardRef, codedepEvalThunk
-from codedep.compute import getHash
Oops, something went wrong.

0 comments on commit 90b0a8e

Please sign in to comment.