I am using virtualenvwrapper with Git Bash (msysGit).
Mostly this works fine, but the lsvirtualenv command relies on the fmt unix command, which is not currently on my path.
I would like to add only fmt.exe to my Git Bash bin if possible, in the interests of doing a minimal install.
For the life of me I cannot find a standalone fmt - it looks like it used to be a part of MSYS coreutils, but is now no longer present.
Please could someone give me some pointers on how to proceed?
It's not an exe, but, I have a simple(ish) fmt
replacement written in Python, by me and Donn Seeley. It's Unix/Linux-centric (makes some assumptions about errno
) but should be easily adapted.
Available via link; strip the .txt extension to turn it into a .py
file.
Thanks for all the help.
In the end, one of the MinGW users on their mailing list (Eli Zaretskii) pointed me in the right direction.
fmt.exe now lives here in Sourceforge:
It needs two DLL libraries (libintl and libiconv) which get copied across into the git bash bin directory too. They live here in Sourceforge:
libintl
libiconv
Now, this little lot will get fmt.exe working in your git bash, but lsvirtualenv still does not work properly... but I think that is a virtualenvwrapper problem now!
来源:https://stackoverflow.com/questions/20424326/where-can-i-get-the-fmt-binary-for-msys-mingw