Skip to content
Browse files

fix windows install.

  • Loading branch information...
1 parent d6003c7 commit 211c3504ed601af7acbeef8fc45521c82c87bed6 @benoitc benoitc committed
View
0 .gitignore 100755 → 100644
File mode changed.
View
0 INSTALLING.md 100755 → 100644
File mode changed.
View
0 MANIFEST.in 100755 → 100644
File mode changed.
View
0 README.md 100755 → 100644
File mode changed.
View
0 THANKS.txt 100755 → 100644
File mode changed.
View
8 bin/couchapp.py
@@ -0,0 +1,8 @@
+# -*- coding: utf-8 -*-
+#
+# This file is part of couchapp released under the Apache 2 license.
+# See the NOTICE for more information.
+
+from couchapp.dispatch import run
+
+run()
View
33 contrib/win32/couchapp.iss
@@ -7,16 +7,16 @@
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{0CDA65F1-9FD8-42C5-8DD0-F65F7E8B7304}
AppName=Couchapp
-AppVerName=Couchapp 0.5
-AppPublisher=Benoît Chesneau
-AppPublisherURL=http://benoitc.github.com/couchapp
-AppSupportURL=http://benoitc.github.com/couchapp
-AppUpdatesURL=http://benoitc.github.com/couchapp
+AppVerName=Couchapp 0.6
+AppPublisher=Benoit Chesneau
+AppPublisherURL=http://github.com/couchapp/couchapp
+AppSupportURL=http://github.com/couchapp/couchapp
+AppUpdatesURL=http://github.com/couchapp/couchapp
DefaultDirName={pf}\Couchapp
DefaultGroupName=Couchapp
LicenseFile=LICENSE
InfoAfterFile=contrib\win32\postinstall.txt
-OutputBaseFilename=couchapp-0.5
+OutputBaseFilename=couchapp-0.6
Compression=lzma
SolidCompression=yes
SourceDir=..\..
@@ -29,31 +29,18 @@ Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:Ad
[Files]
Source: dist\couchapp.exe; DestDir: {app}; Flags: ignoreversion
-Source: dist\_hashlib.pyd; DestDir: {app}; Flags: ignoreversion
-Source: dist\_socket.pyd; DestDir: {app}; Flags: ignoreversion
-Source: dist\_ssl.pyd; DestDir: {app}; Flags: ignoreversion
-Source: dist\_win32sysloader.pyd; DestDir: {app}; Flags: ignoreversion
-Source: dist\API-MS-Win-Core-LocalRegistry-L1-1-0.dll; DestDir: {app}; Flags: ignoreversion
-Source: dist\API-MS-Win-Core-ProcessThreads-L1-1-0.dll; DestDir: {app}; Flags: ignoreversion
-Source: dist\API-MS-Win-Security-Base-L1-1-0.dll; DestDir: {app}; Flags: ignoreversion
-Source: dist\bz2.pyd; DestDir: {app}; Flags: ignoreversion
-Source: dist\couchapp.exe; DestDir: {app}; Flags: ignoreversion
Source: dist\library.zip; DestDir: {app}; Flags: ignoreversion
-Source: dist\POWRPROF.dll; DestDir: {app}; Flags: ignoreversion
-Source: dist\python26.dll; DestDir: {app}; Flags: ignoreversion
-Source: dist\pythoncom26.dll; DestDir: {app}; Flags: ignoreversion
-Source: dist\pywintypes26.dll; DestDir: {app}; Flags: ignoreversion
-Source: dist\select.pyd; DestDir: {app}; Flags: ignoreversion
-Source: dist\unicodedata.pyd; DestDir: {app}; Flags: ignoreversion
Source: dist\w9xpopen.exe; DestDir: {app}; Flags: ignoreversion
-Source: dist\win32api.pyd; DestDir: {app}; Flags: ignoreversion
-Source: dist\win32com.shell.shell.pyd; DestDir: {app}; Flags: ignoreversion
Source: dist\couchapp\*; DestDir: {app}; Flags: ignoreversion recursesubdirs createallsubdirs
Source: dist\Microsoft.VC*.CRT.manifest; DestDir: {app}; Flags: ignoreversion
Source: dist\Microsoft.VC*.MFC.manifest; DestDir: {app}
Source: dist\mfc*.dll; DestDir: {app}
Source: dist\msvc*.dll; DestDir: {app}
Source: dist\add_path.exe; DestDir: {app}
+Source: dist\python26.dll; DestDir: {app}
+Source: dist\*.pyd; DestDir: {app}
+Source: dist\*.dll; DestDir: {app}
+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
View
0 couchapp/__init__.py 100755 → 100644
File mode changed.
View
0 couchapp/hooks/compress/compress_css.py 100755 → 100644
File mode changed.
View
0 couchapp/hooks/compress/jsmin.c 100755 → 100644
File mode changed.
View
0 couchapp/hooks/compress/jsmin.py 100755 → 100644
File mode changed.
View
0 couchapp/hooks/compress/yuicompressor.py 100755 → 100644
File mode changed.
View
0 couchapp/util.py 100755 → 100644
File mode changed.
View
0 debian/rules 100755 → 100644
File mode changed.
View
17 setup.py 100755 → 100644
@@ -22,6 +22,13 @@
data_files.append((os.path.join('couchapp', dir),
[os.path.join(dir, file_) for file_ in files]))
+class install_package_data(install_data):
+ def finalize_options(self):
+ self.set_undefined_options('install',
+ ('install_lib', 'install_dir'))
+ install_data.finalize_options(self)
+
+cmdclass = {'install_data': install_package_data }
if os.name == "nt":
# py2exe needs to be installed to work
@@ -42,19 +49,11 @@
except ImportError:
raise SystemExit('You need pywin32 installed ' +
'http://sourceforge.net/projects/pywin32')
-
+ extra['console'] = ['bin/couchapp.py']
except ImportError:
raise SystemExit('You need py2exe installed to run Couchapp.')
-class install_package_data(install_data):
- def finalize_options(self):
- self.set_undefined_options('install',
- ('install_lib', 'install_dir'))
- install_data.finalize_options(self)
-
-cmdclass = {'install_data': install_package_data }
-
from couchapp import __version__
setup(
View
0 templates/app/_attachments/index.html 100755 → 100644
File mode changed.
View
0 templates/app/_attachments/style/main.css 100755 → 100644
File mode changed.
View
0 tests/testapp/_attachments/index.html 100755 → 100644
File mode changed.
View
0 tests/testapp/_attachments/style/main.css 100755 → 100644
File mode changed.
View
0 tests/testapp/foo/bar.txt 100755 → 100644
File mode changed.
View
0 tests/testapp/lib/helpers/math.js 100755 → 100644
File mode changed.
View
0 tests/testapp/lib/helpers/template.js 100755 → 100644
File mode changed.
View
0 tests/testapp/lib/templates/example.html 100755 → 100644
File mode changed.
View
0 tests/testapp/lists/feed.js 100755 → 100644
File mode changed.
View
0 tests/testapp/shows/example-show.js 100755 → 100644
File mode changed.
View
0 tests/testapp/views/example/map.js 100755 → 100644
File mode changed.
View
0 tests/testapp/views/example/reduce.js 100755 → 100644
File mode changed.

0 comments on commit 211c350

Please sign in to comment.
Something went wrong with that request. Please try again.