Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

windows fix

  • Loading branch information...
commit 5af7730f3a14f23f4b171bb666a9c0b704b5808c 1 parent dad45d4
benoitc authored
View
4 contrib/macosx/Readme.html
@@ -21,11 +21,11 @@
<p class="p2"><br></p>
<p class="p1"><b>After you install</b></p>
<p class="p2"><br></p>
-<p class="p3">This package installs the <span class="s2">couchapp</span> executable in <span class="s2">/usr/local/bin</span> and the Couchapp files in <span class="s2">/Library/Python/2.6/site-packages/Couchapp.</span></p>
+<p class="p3">This package installs the <span class="s2">couchapp</span> executable in <span class="s2">/usr/bin</span> and the Couchapp files in <span class="s2">/Library/Python/2.6/site-packages/Couchapp.</span></p>
<p class="p2"><br></p>
<p class="p1"><b>Documentation</b></p>
<p class="p2"><br></p>
-<p class="p3">Visit the <a href="http://benoitc.github.com/couchapp">Couchapp web site and wiki</a></p>
+<p class="p3">Visit the <a href="http://couchapp.org">Couchapp web site and wiki</a></p>
<p class="p2"><br></p>
<p class="p3">You can also visit the, <a href="http://couchdb.apache.org/">CouchDB website</a></p>
<p class="p2"><br></p>
View
14 contrib/macosx/Welcome.html
@@ -1,20 +1,20 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<!-- This is the second screen displayed during the install. -->
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1038.32">
<style type="text/css">
+ body {background-color: #000000}
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica}
- p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
+ p.p2 {margin: 0.0px 0.0px 12.0px 0.0px; font: 12.0px Times; min-height: 14.0px}
+ span.s1 {text-decoration: underline ; color: #0000ee}
</style>
</head>
<body>
-<p class="p1">This is a prepackaged release of <a href="http://benoitc.github.com/couchapp">couchapp</a> for Mac OS X.</p>
+<p class="p1">This is a prepackaged release of <a href="http://couchapp.org"><span class="s1">couchapp</span></a> for Mac OS X.</p>
<p class="p2"><br></p>
-<br>
-<p>
-Please be sure to read the latest <a href="http://benoitc.github.com/couchapp/changelog.htm">changes</a>.</p>
</body>
</html>
View
5 couchapp/generator.py
@@ -158,9 +158,12 @@ def copy_helper(path, directory, tname="templates"):
path))
def find_template_dir(name, directory=''):
- paths = ['%s' % name, '../%s' % name]
+ paths = ['%s' % name, os.path.join('..', name]
if hasattr(sys, 'frozen'): # py2exe
modpath = sys.executable
+ elif sys.platform == "win32" or os.name == "nt":
+ modpath = os.path.join(sys.prefix, "Lib", "site-packages",
+ "couchapp", "templates")
else:
modpath = __file__
Please sign in to comment.
Something went wrong with that request. Please try again.