8 lines
161 B
Python
8 lines
161 B
Python
import os
|
|
import shutil
|
|
|
|
try:
|
|
os.symlink('doc/index.rst', 'README.rst')
|
|
except (AttributeError, OSError):
|
|
shutil.copyfile('doc/index.rst', 'README.rst')
|