Maarten ter Huurne
|
2b5576f858
Replace all instances of IOError with OSError (in Python scripts)
|
5 년 전 |
Maarten ter Huurne
|
7e0f3f15fd
Convert build scripts to Python 3
|
5 년 전 |
Maarten ter Huurne
|
f623713913
Use print function syntax
|
5 년 전 |
Maarten ter Huurne
|
6bf397a854
Use '0o' as prefix for octal literals
|
5 년 전 |
Maarten ter Huurne
|
c4d1f97095
Fix "make install" when the top-level install directory does not exist
|
9 년 전 |
Maarten ter Huurne
|
1600f7bdce
Make warning in installTree() more clear (used by build)
|
11 년 전 |
wouter
|
d089095d55
Various text-processing stuff
|
11 년 전 |
Maarten ter Huurne
|
8a0f6553db
Removed "selection" argument from scanTree(), because it was never used.
|
13 년 전 |
Maarten ter Huurne
|
cef7be5754
Suppress pylint warning.
|
15 년 전 |
Maarten ter Huurne
|
11496f5ab8
Have scanTree() accept baseDir that ends with one or more dir separators.
|
15 년 전 |
Maarten ter Huurne
|
c970540914
Improved _installDirsRec() so it accepts paths with two consecuitive separators or a separator at the end.
|
15 년 전 |
Maarten ter Huurne
|
ea1524b11a
Create parent directories when installing a specified directory, like was added for files in the previous commit.
|
15 년 전 |
Maarten ter Huurne
|
cd9a39321e
In installTree(), create relative part of destination directory if it does not exist yet: although scanTree() will always yield the directory before its contents, path sequences from other sources might have a different order or might omit the directories completely. This fixes "make dist". Also implemented installDirs() more efficiently by starting with the full path and only moving up a level if the directory does not exist yet.
|
15 년 전 |
Maarten ter Huurne
|
1f1fd0b2c2
Converted "make install" to Python.
|
16 년 전 |
Maarten ter Huurne
|
768563e0cd
Renamed install() to installTree(), since there will be other install methods as well: single file, symlink.
|
16 년 전 |
Maarten ter Huurne
|
cc71b321d7
We have to do chmod() separately because the "mode" argument of mkdir() is modified by umask.
|
16 년 전 |
Maarten ter Huurne
|
c2fe081d00
Moved scanTree() and install() to utily module, since I expect to use them from other scripts as well.
|
16 년 전 |