Skip to content

Commit 736b95f

Browse files
Merge pull request #91 from DiamondLightSource/new_puck_codes
Preparation for release 1.8.0
2 parents 138c4bd + 724281a commit 736b95f

File tree

9 files changed

+24
-34
lines changed

9 files changed

+24
-34
lines changed

Pipfile

Lines changed: 0 additions & 30 deletions
This file was deleted.

Pipfile.lock

Whitespace-only changes.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ This section serves as an introduction for developers who are interested in main
2929
Release Notes
3030
-------------
3131
* [ReleaseNotes (development)](docs/release-notes/release-notes-dev.md)
32+
* [ReleaseNotes (v1.8.0)](docs/release-notes/release-notes-v1_8_0.md)
3233
* [ReleaseNotes (v1.7.1)](docs/release-notes/release-notes-v1_7_1.md)
3334
* [ReleaseNotes (v1.7.0)](docs/release-notes/release-notes-v1_7_0.md)
3435
* [ReleaseNotes (v1.6.0)](docs/release-notes/release-notes-v1_6_0.md)

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ mkdir bin
44
REM use to debug the exe file
55
REM pyinstaller --onefile --icon=..\resources\icons\qr_code.ico --debug --clean main.py
66

7-
pyinstaller --onefile --windowed --icon="resources\icons\qr_code.ico" --clean "main.py"
7+
pyinstaller --onefile --add-binary "C:\Users\rqq82173\.virtualenvs\PuckBarcodeReader-6rTXUiM6\Lib\site-packages\pylibdmtx\libdmtx-64.dll;." --windowed --icon="resources\icons\qr_code.ico" --clean "main.py"
88

99
move dist\main.exe bin\barcode.exe
1010
rd /S /Q build

dls_barcode/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "v1.7.1"
1+
VERSION = "v1.8.0"

docs/code.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ Creating a Self-Contained Executable
2929
====================================
3030
A Python package called [PyInstaller](http://www.pyinstaller.org/) can be used to create a stand-alone windows executable (.exe) file.
3131

32-
Activate your virtual environment (e.g.run in command line C:\Users\rqq82173\PycharmProjects\python_environments\barcode_qt5\Scripts\activate.bat) next run the `build.bat` in PuckBarcodeReader folder. This will create the file `bin\barcode.exe`. This will be fairly large (~40 MB).
32+
Activate your virtual environment (e.g.run in command line C:\Users\rqq82173\PycharmProjects\python_environments\barcode_qt5\Scripts\activate.bat) next run the `build.bat` in PuckBarcodeReader folder.
33+
Note build.bat includes hardcoded path to libdmtx-64.dll - it has to be updated accordingly before running `bin\barcode.exe`.
34+
This will create the file `bin\barcode.exe`. This will be fairly large (~40 MB).
3335
Once .exe file is created add 'resources' folder to th bin folder (resources include the icon and the shape patter).
3436
Zip the bin folder and add it to release files.
3537

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Release Notes (Development)
2+
===========================
3+
4+
Changes merged into master
5+
--------------------------
6+
| Jira Task | GitHub Issue | Type | Description |
7+
|-----------|--------------|------|------------------------------------|
8+
| - | - | |Use python 3.9 |
9+
|I04_1-1036 | - |Minor |Use pylibdtmx to read barcodes |
10+
11+
Change Types:
12+
* Major - Backward incompatible change
13+
* Minor - Backward compatible change in API/functionality
14+
* Patch - Bug fix, no change in functionality
15+
16+
17+

requirements.txt

1.84 KB
Binary file not shown.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ install_requires=
1414
numpy
1515
scipy
1616
pyperclip
17-
pygelf
17+
pylibdmtx
1818
# If you want to include data files in packages,
1919
# set this to True and include a MANIFEST.in file.
2020
include_package_data = False

0 commit comments

Comments
 (0)