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:
calvin 2003-09-19 18:17:32 +00:00
parent b2c0c9ec75
commit ad76cce2d9

View file

@ -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