Skip to content

Commit 31774fc

Browse files
committed
v0.5.1 release
1 parent 05ecd25 commit 31774fc

File tree

4 files changed

+24
-20
lines changed

4 files changed

+24
-20
lines changed

Windows/ChemCanvas.nsi

100644100755
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; HM NIS Edit Wizard helper defines
22
!define PROG_NAME "ChemCanvas"
3-
!define PROG_VERSION "0.4.1"
3+
!define PROG_VERSION "0.5.1"
44
!define PROG_PUBLISHER "Arindamsoft"
55
!define PROG_ICON "chemcanvas.ico"
66
!define PROG_EXEC "chemcanvas.exe"
@@ -66,6 +66,10 @@ VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Arindam Chaudhuri <arind
6666
!define QTPLUGINS_DIR "dist\chemcanvas\_internal\PyQt5\Qt5\plugins"
6767

6868
Section "MainSection" SEC01
69+
; Delete files from previous version
70+
RMDir /r "$INSTDIR\_internal"
71+
72+
; Install this version
6973
SetOutPath "$INSTDIR"
7074
SetOverwrite try
7175
;File /r /x "bin" /x "plugins" "${BUILDDIR}\_internal"

Windows/chemcanvas.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- mode: python ; coding: utf-8 -*-
2-
2+
# Usage : pyinstaller chemcanvas.spec
33

44
a = Analysis(
55
['../chemcanvas/main.py'],

Windows/version_info.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
VSVersionInfo(
77
ffi=FixedFileInfo(
88
# filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4)
9-
filevers=(0, 4, 1, 0),
10-
prodvers=(0, 4, 1, 0),
9+
filevers=(0, 5, 1, 0),
10+
prodvers=(0, 5, 1, 0),
1111
# Do not touch these values
1212
mask=0x0,
1313
flags=0x0,
@@ -22,10 +22,10 @@ VSVersionInfo(
2222
StringTable(
2323
'040904b0',
2424
[StringStruct('FileDescription', 'ChemCanvas'),
25-
StringStruct('FileVersion', '0.4.1'),
25+
StringStruct('FileVersion', '0.5.1'),
2626
StringStruct('LegalCopyright', 'Arindam Chaudhuri <arindamsoft94@gmail.com>'),
2727
StringStruct('ProductName', 'ChemCanvas'),
28-
StringStruct('ProductVersion', '0.4.1')]),
28+
StringStruct('ProductVersion', '0.5.1')]),
2929
StringStruct('CompanyName', 'Arindamsoft')
3030
]),
3131
VarFileInfo([VarStruct('Translation', [1033, 1200])])

chemcanvas/tools.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1982,27 +1982,27 @@ def tool_class(name):
19821982
],
19831983
"MarkTool" : [
19841984
["ButtonGroup", "mark_type", [
1985-
("charge_plus", "Positive Charge", "charge-plus"),
1986-
("charge_minus", "Negative Charge", "charge-minus"),
1987-
("charge_circledplus", "Positive Charge", "charge-circledplus"),
1988-
("charge_circledminus", "Negative Charge", "charge-circledminus"),
1989-
("charge_deltaplus", "Positive Charge", "charge-deltaplus"),
1990-
("charge_deltaminus", "Negative Charge", "charge-deltaminus"),
1991-
("electron_pair", "Lone Pair", "electron-pair"),
1992-
("electron_single", "Single Electron/Radical", "electron-single"),
1993-
("isotope", "Isotope Number", "isotope"),
1994-
("DeleteMark", "Delete Mark", "delete"),
1985+
('charge_plus', "Positive Charge", "charge-plus"),
1986+
('charge_minus', "Negative Charge", "charge-minus"),
1987+
('charge_circledplus', "Positive Charge", "charge-circledplus"),
1988+
('charge_circledminus', "Negative Charge", "charge-circledminus"),
1989+
('charge_deltaplus', "Positive Charge", "charge-deltaplus"),
1990+
('charge_deltaminus', "Negative Charge", "charge-deltaminus"),
1991+
('electron_pair', "Lone Pair", "electron-pair"),
1992+
('electron_single', "Single Electron/Radical", "electron-single"),
1993+
('isotope', "Isotope Number", "isotope"),
1994+
('DeleteMark', "Delete Mark", "delete"),
19951995
]]
19961996
],
19971997
"PlusTool" : [
19981998
["Label", "Size : ", None],
19991999
["SpinBox", "size", (6, 72)],
20002000
],
20012001
"BracketTool" : [
2002-
["ButtonGroup", "bracket_type",
2003-
[("square", "Square Bracket", "bracket-square"),
2004-
("curly", "Curly Bracket", "bracket-curly"),
2005-
("round", "Round Bracket", "bracket-round"),
2002+
["ButtonGroup", 'bracket_type',
2003+
[('square', "Square Bracket", "bracket-square"),
2004+
('curly', "Curly Bracket", "bracket-curly"),
2005+
('round', "Round Bracket", "bracket-round"),
20062006
]]
20072007
],
20082008
"TextTool" : [

0 commit comments

Comments
 (0)