mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-01 11:34:41 +00:00
fix readme generation on win
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1037 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
b2c0c9ec75
commit
ad76cce2d9
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -68,7 +68,7 @@ class MyInstall (install):
|
|||
# copy README file to desktop
|
||||
path = get_nt_desktop_path(default=self.install_data)
|
||||
path = os.path.join(path, "LinkChecker_Readme.txt")
|
||||
data = open("README").read()
|
||||
data = [ line.strip() for line in open("README").readlines() ]
|
||||
self.distribution.create_file(path, data)
|
||||
|
||||
# sent a patch for this, but here it is for compatibility
|
||||
|
|
|
|||
Loading…
Reference in a new issue