1
0
Fork
You've already forked pycoreutils
0
Python implementation of basic Unix utilities, modeled to support GNU coreutils features. http://wiki.github.com/dcantrell/pycoreutils
  • Python 97.1%
  • C 1.7%
  • Makefile 1.2%
Find a file
2011年04月07日 07:28:02 -10:00
pycoreutils Replaced GNU autoconf/automake build system with Python distutils. 2011年04月07日 07:27:57 -10:00
src Change '#!/usr/bin/python -tt' to '#!/usr/bin/env python' 2011年04月07日 07:28:02 -10:00
tests Fix up test cases to run from central driver. 2011年04月07日 07:28:02 -10:00
.gitignore Replaced GNU autoconf/automake build system with Python distutils. 2011年04月07日 07:27:57 -10:00
AUTHORS Should probably add myself. 2009年11月16日 22:08:30 -06:00
COPYING Initial import to code.google.com. 2008年03月08日 13:59:25 +00:00
HACKING Fixed shebang line. 2009年11月16日 17:34:43 -06:00
Makefile Replaced GNU autoconf/automake build system with Python distutils. 2011年04月07日 07:27:57 -10:00
MANIFEST.in Replaced GNU autoconf/automake build system with Python distutils. 2011年04月07日 07:27:57 -10:00
README Initial import to code.google.com. 2008年03月08日 13:59:25 +00:00
setup.py Replaced GNU autoconf/automake build system with Python distutils. 2011年04月07日 07:27:57 -10:00
TODO Remove sha{224,256,384,512}sum from the TODO list. 2010年03月09日 22:11:08 -10:00

pycoreutils
Python re-implementation of GNU coreutils
WHY?
Why not? Could be useful to someone. Maybe the PyOS project.
DEVELOPMENT
Put the drivers for the commands in src/. These should contain a main()
function and do the argument processing. Put the core functionality for
the program in a pycoreutils module and import it in the driver.
To test drivers, make sure you set a PYTHONPATH environment variable so
that python can find the pycoreutils modules in this directory:
 export PYTHONPATH=$(pwd)