- Fix long_description metadata
- Remove dependency on python-cli-ui
- Fix packaging issue:
pycp
wheels are no longer universal.
- Fix crash in
pycp -g
. Reported by @z1lt0id
- Partial revert of 8.0.3:
pycp
is now still fast even with just one CPU
- Performance improvements (see #20). We are now faster than v7 :)
Note that
pycp
will be still be slow if only one CPU is available.
- Packaging fixes
- Fix calling
--version
is some corner cases.
New feature: colors by default.
I'd like to thank @schvabodka-man for giving me the opportunity to refactor code that was more than 7 years old :)
Breaking change: remove
--all
see #19 for details.Drop Windows support
Drop Python2 support
Massive refactoring
Stricter CI
- Try to preserve user and group when used with
-p,--preserve
- Optimization : read source file size only once
- Fix crash when file size increases while it's being copied
- Include test/test_dir/ in source package. This makes it possible for pycp packages to run the tests
- Fix README. (version bump required for updating pypi page)
- Bring back Python2.7 compatibily. Why not ?
- Display a file count even when not using
-g
- Fix classifiers
- port to Python3
- switch to setuptools for the packaging
- improve symlink support
- massive refactoring
- pycp no longer depends on progressbar
- add pycp -g option to display a global progress bar on several lines
- massive refactoring
- pycp no longer uses threading code. copying small files should now be painless (no more time.sleep)
- pycp learned --all and --preserve options
- change license from GPL to BSD
- pycp no longer hangs when copy fails.
- error code is non zero when serious problems occurs.
Bug fixes concerning small and empty files
Bug fix: pymv a_dir b_dir
left an empty a_dir
behind
Nicer print of what is being transfered:
/path/to/{foo => bar}/a/b
instead of:
/path/to/foo/a/b -> /path/to/bar/a/b
Pycp now is available on Pypi: http://pypi.python.org/pypi/pycp/
You can now use --safe to never overwrite files.
Lots of bug fixes, introducing automatic tests
Fix bug for Python2.5: threading module still has only camelCase functions.
Now using shutil
and thread
modules instead of subprocess
.
(Replacing supbrocess.popen("/bin/cp")
by calling a thread
running shutil.copy
)
Bonus: pycp might become cross-platform
Switch from getopt
to OptionParser
(much better)
- Now using
/bin/cp
instead ofcp
(thanks, Chris Gilles) - No more
-o
option. Files are now overwritten by default. Pass a-i,--interactive
option if you want to be asked for confirmation before overwritting files - Mimic
cp
behaviour. (thanks, ctaf)
Little trick to have a pymv
- Skips existing files instead of canceling whole operation
- Implementing
-o,--overwrite
option.
Able to copy multiple files:
pycp bar foo /path/to/baz
Now able to copy recursively files!
Add an ETA and file speed estimation
- Fix possible division by zero
- Fix possible race condition
Add a proper license
Initial commit