History

setup.py: move cut and cmd inside aubio module, use entry_points to generate scripts

Paul Brossier committed 9 years ago

Commit 8e2f36a1 parent 1f00b693 files · +8 −3Browse files

Showing the changes to python (2 of 3 files). Show all

Unified · Split

2 files
  1. python/lib/aubio/cmd.py +1 −1
  2. python/lib/aubio/cut.py +1 −1
python/lib/aubio/cmd.pyrenamed from python/scripts/aubio+1−1
@@ -313,7 +313,7 @@ class process_melbands(default_process): · 312 unmodified lines
313 fmt_out += ' '.join(["% 9.7f" % f for f in res.tolist()])313 fmt_out += ' '.join(["% 9.7f" % f for f in res.tolist()])
314 sys.stdout.write(fmt_out + '\n')314 sys.stdout.write(fmt_out + '\n')
315 315
316if __name__ == '__main__':316def main():
317 parser = aubio_parser()317 parser = aubio_parser()
318 args = parser.parse_args()318 args = parser.parse_args()
319 if args.show_version or ('verbose' in args and args.verbose > 3):319 if args.show_version or ('verbose' in args and args.verbose > 3):
python/lib/aubio/cut.pyrenamed from python/scripts/aubiocut+1−1
@@ -140,7 +140,7 @@ def parse_args(): · 139 unmodified lines
140 sys.exit(1)140 sys.exit(1)
141 return options, args141 return options, args
142 142
143if __name__ == '__main__':143def main():
144 options, args = parse_args()144 options, args = parse_args()
145 145
146 hopsize = options.hopsize146 hopsize = options.hopsize

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t