Switch to python3
This commit is contained in:
parent
531041e89a
commit
9ba4b6a91a
5286 changed files with 677347 additions and 576888 deletions
11
Shared/lib/python3.4/site-packages/setuptools/utils.py
Normal file
11
Shared/lib/python3.4/site-packages/setuptools/utils.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import os
|
||||
import os.path
|
||||
|
||||
|
||||
def cs_path_exists(fspath):
|
||||
if not os.path.exists(fspath):
|
||||
return False
|
||||
# make absolute so we always have a directory
|
||||
abspath = os.path.abspath(fspath)
|
||||
directory, filename = os.path.split(abspath)
|
||||
return filename in os.listdir(directory)
|
||||
Loading…
Add table
Add a link
Reference in a new issue