Skip to content

Commit e98b7fd

Browse files
author
sreeder
committed
update setup files
1 parent 3a51454 commit e98b7fd

File tree

7 files changed

+28
-19
lines changed

7 files changed

+28
-19
lines changed

ODMTools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
from multiprocessing import cpu_count, freeze_support
1919
from odmtools.odmdata import MemoryDatabase
2020

21-
# import pyodbc
22-
# import pymysql
23-
# import psycopg2
21+
import pyodbc
22+
import pymysql
23+
import psycopg2
2424

2525
tool = LoggerTool()
2626
logger = tool.setupLogger(__name__, __name__ + '.log', 'w', logging.DEBUG)

make.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44
from contextlib import closing
55
from zipfile import ZipFile, ZIP_DEFLATED
66

7+
#need Windows installer
8+
#windows installer with console
9+
#windows no install( include console)
10+
#mac installer
11+
#mac no installer
12+
13+
14+
15+
716
## Update odmtools.meta.data whenever creating a release
817
from odmtools.meta import data
918

@@ -148,7 +157,7 @@ def run_pyinstaller(console=False):
148157
'--noconfirm ' + APP_FILE)
149158
else:
150159
## Non Console Version
151-
os.system('pyinstaller '
160+
val = os.system('pyinstaller '
152161
'--clean '
153162
'--distpath=%s ' % WIN_DIR +
154163
'--workpath=%s ' % WORK_DIR +

odmtools/meta/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
app_name = "ODMTools"
2-
version = "1.2.0_Beta"
2+
version = "1.2.1_Beta"
33
copyright = "Copyright (c) 2013 - 2015, Utah State University. All rights reserved."
44
description = "ODMTools is a python application for managing observational data using the Observations Data Model. " \
55
"ODMTools allows you to query, visualize, and edit data stored in an Observations Data Model (ODM) database." \

setup/Windows/odmtools_console.iss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "ODMTools"
5-
#define MyAppVersion "1.2.0_Beta"
5+
#define MyAppVersion "1.2.1_Beta"
66
#define MyAppPublisher "ODM2"
77
#define MyAppURL "https://github.com/ODM2/ODMToolsPython"
8-
#define MyAppExeName "ODMTools_1.2.0_Beta_win32_x86_64_console.exe"
9-
#define MyAppDir "C:\Users\jmeline_\Documents\GitHub\ODMToolsPython"
8+
#define MyAppExeName "ODMTools_1.2.1_Beta_win32_x86_64_console.exe"
9+
#define MyAppDir "D:\DEV\ODMToolsPython"
1010

1111
[Setup]
1212
; NOTE: The value of AppId uniquely identifies this application.
@@ -37,8 +37,8 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
3737
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
3838

3939
[Files]
40-
Source: "{#MyAppDir}\setup\Dist\ODMTools_1.2.0_Beta_win32_x86_64_console\ODMTools_1.2.0_Beta_win32_x86_64_console.exe"; DestDir: "{app}"; Flags: ignoreversion
41-
Source: "{#MyAppDir}\setup\Dist\ODMTools_1.2.0_Beta_win32_x86_64_console\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
40+
Source: "{#MyAppDir}\setup\Dist\ODMTools_1.2.1_Beta_win32_x86_64_console\ODMTools_1.2.0_Beta_win32_x86_64_console.exe"; DestDir: "{app}"; Flags: ignoreversion
41+
Source: "{#MyAppDir}\setup\Dist\ODMTools_1.2.1_Beta_win32_x86_64_console\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
4242
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
4343

4444
[Icons]

setup/Windows/odmtools_no_console.iss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "ODMTools"
5-
#define MyAppVersion "1.2.0_Beta"
5+
#define MyAppVersion "1.2.1_Beta"
66
#define MyAppPublisher "ODM2"
77
#define MyAppURL "https://github.com/ODM2/ODMToolsPython"
8-
#define MyAppExeName "ODMTools_1.2.0_Beta_win32_x86_64.exe"
9-
#define MyAppDir "C:\Users\jmeline_\Documents\GitHub\ODMToolsPython"
8+
#define MyAppExeName "ODMTools_1.2.1_Beta_win32_x86_64.exe"
9+
#define MyAppDir "D:\DEV\ODMToolsPython"
1010

1111
[Setup]
1212
; NOTE: The value of AppId uniquely identifies this application.
@@ -37,8 +37,8 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
3737
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
3838

3939
[Files]
40-
Source: "{#MyAppDir}\setup\Dist\ODMTools_1.2.0_Beta_win32_x86_64\ODMTools_1.2.0_Beta_win32_x86_64.exe"; DestDir: "{app}"; Flags: ignoreversion
41-
Source: "{#MyAppDir}\setup\Dist\ODMTools_1.2.0_Beta_win32_x86_64\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
40+
Source: "{#MyAppDir}\setup\Dist\ODMTools_1.2.1_Beta_win32_x86_64\ODMTools_1.2.1_Beta_win32_x86_64.exe"; DestDir: "{app}"; Flags: ignoreversion
41+
Source: "{#MyAppDir}\setup\Dist\ODMTools_1.2.1_Beta_win32_x86_64\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
4242
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
4343

4444
[Icons]

setup/Windows/odmtools_setup.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "ODMTools"
5-
#define MyAppVersion "1.2.0_Beta"
5+
#define MyAppVersion "1.2.1_Beta"
66
#define MyAppPublisher "ODM2"
77
#define MyAppURL "https://github.com/ODM2/ODMToolsPython"
88
#define MyAppExeName "ODMTools.exe"
9-
#define MyAppDir "C:\DEV\ODMToolsPython"
9+
#define MyAppDir "D:\DEV\ODMToolsPython"
1010

1111
[Setup]
1212
; NOTE: The value of AppId uniquely identifies this application.

setup/version.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ VSVersionInfo(
3131
u'040904b0',
3232
[StringStruct(u'CompanyName', u'Utah Water Research Laboratory'),
3333
StringStruct(u'ProductName', u'ODMTools'),
34-
StringStruct(u'ProductVersion', u'1.2.0 beta'),
34+
StringStruct(u'ProductVersion', u'1.2.1 beta'),
3535
StringStruct(u'InternalName', u'ODMTools'),
3636
StringStruct(u'OriginalFilename', u'ODMTools.exe'),
37-
StringStruct(u'FileVersion', u'1.2.0 beta'),
37+
StringStruct(u'FileVersion', u'1.2.1 beta'),
3838
StringStruct(u'FileDescription', u'ODMTools is a python application for managing observational data using the Observations Data Model. ODMTools allows you to query, visualize, and edit data stored in an Observations Data Model (ODM) database.ODMTools was originally developed as part of the CUAHSI Hydrologic Information System.'),
3939
StringStruct(u'LegalCopyright', u'Copyright (c) 2013, Utah State University. All rights reserved.'),
4040
StringStruct(u'LegalTrademarks', u'N/A'),])

0 commit comments

Comments
 (0)