Skip to content

Commit fd96469

Browse files
author
Ayush C
authored
build: update dependencies (#214)
* docs: update README * build: update deps * fix(PySide2): migrate to PySide6 * build: remove git submodule * chore: at least get app running * ci: add dependabot config and e2e job * fix(ci): e2e job * ci: cache apt packages for ubuntu runner * ci: try fixing apt cache * ci: fix typo * ci: fix typo * ci: fix typo * test: use `NW.js` v0.77.0 * test: update version assertion * docs: move license.rtf and setup guide * build: add `pyling` and `black` * ci: disable lint * docs: update license and add note about maintainance mode * docs: update readme
1 parent d69b85a commit fd96469

17 files changed

+1418
-70
lines changed

SETUP.md .github/SETUP.md

File renamed without changes.

.github/dependabot.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
- package-ecosystem: "github-actions"
8+
directory: ".github/"
9+
schedule:
10+
interval: "daily"

.github/workflows/e2e.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: e2e
2+
3+
on:
4+
pull_request:
5+
branches: [master]
6+
7+
jobs:
8+
e2e:
9+
strategy:
10+
matrix:
11+
os: [macos-12, ubuntu-22.04, windows-2022]
12+
fail-fast: false
13+
runs-on: ${{ matrix.os }}
14+
steps:
15+
- uses: actions/[email protected]
16+
- uses: actions/[email protected]
17+
with:
18+
python-version: "3.11.0"
19+
cache: pip
20+
- if: matrix.os == 'ubuntu-22.04'
21+
uses: awalsh128/[email protected]
22+
with:
23+
packages: libegl1
24+
version: 1.0
25+
- run: python -m pip install -r requirements.txt
26+
# - run: python -m pylint ./**/*.py
27+
- run: python -m pytest

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
*.pyc
22
*.sw*
33
*.spec
4+
5+
tests/test_data

.gitmodules

-3
This file was deleted.

.travis.yml

-8
This file was deleted.

LICENSE.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 SimplyPixelated
3+
Copyright (c) 2015-2023 SimplyPixelated
4+
Copyright (c) 2022-2023 NW.js Utilities
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
1-
## Not being actively maintained!
2-
3-
Thank you all for using Web2Exe over the years! Unfortunately, I don't have the time to maintain this anymore (as you've probably noticed). If anyone wants to take over this repo let me know via email. If you use this and want paid support or you want to pay for further development, you can also contact me via email (which is on my Github profile).
4-
5-
6-
Latest Release:
7-
8-
[![Github Releases (by Release)](https://img.shields.io/github/downloads/jyapayne/Web2Executable/latest/total.svg)]()
9-
10-
All Releases:
11-
12-
[![Github All Releases](https://img.shields.io/github/downloads/jyapayne/Web2Executable/total.svg)]()
1+
> This repository is in maintainance mode. Bug fixes will be provided on a best effort basis. If you use this project, please consider contributing back.
132
143
Web2Executable
154
==============
165

6+
[![Github Releases (by Release)](https://img.shields.io/github/downloads/jyapayne/Web2Executable/latest/total.svg)]()
7+
178
[Releases (Downloads)](https://github.com/jyapayne/Web2Executable/releases) (new!)
189

10+
[![Github All Releases](https://img.shields.io/github/downloads/jyapayne/Web2Executable/total.svg)]()
1911

2012
What is it?
2113
-----------

command_line.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
from util_classes import Setting, FileTree
4848

4949
from image_utils.pycns import save_icns
50-
from pepy.pe import PEFile
50+
from pe import PEFile
5151

5252
from semantic_version import Version
5353

license.rtf

-18
This file was deleted.

main.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
from util_classes import CompleterLineEdit, TagsCompleter
4242
from util_classes import TreeBrowser
4343

44-
from PySide2 import QtGui, QtCore, QtWidgets
45-
from PySide2.QtWidgets import (QApplication, QHBoxLayout, QVBoxLayout, QMainWindow)
46-
from PySide2 import QtNetwork
47-
from PySide2.QtCore import Qt, QUrl, QFile, QIODevice, QCoreApplication
48-
from PySide2.QtNetwork import QNetworkReply, QNetworkRequest, QNetworkAccessManager
44+
from PySide6 import QtGui, QtCore, QtWidgets
45+
from PySide6.QtWidgets import (QApplication, QHBoxLayout, QVBoxLayout, QMainWindow)
46+
from PySide6 import QtNetwork
47+
from PySide6.QtCore import Qt, QUrl, QFile, QIODevice, QCoreApplication
48+
from PySide6.QtNetwork import QNetworkReply, QNetworkRequest, QNetworkAccessManager
4949

5050
from image_utils.pycns import pngs_from_icns
5151

@@ -171,12 +171,12 @@ def setup_project_menu(self):
171171
self.project_menu = self.menuBar().addMenu('File')
172172
self.edit_menu = self.menuBar().addMenu('Edit')
173173

174-
browse_action = QtWidgets.QAction('Open Project', self.project_menu,
174+
browse_action = QtGui.QAction('Open Project', self.project_menu,
175175
shortcut=QtGui.QKeySequence.Open,
176176
statusTip='Open an existing or new project.',
177177
triggered=self.browse_dir)
178178

179-
toggle_readonly_action = QtWidgets.QAction('Toggle Readonly',
179+
toggle_readonly_action = QtGui.QAction('Toggle Readonly',
180180
self.edit_menu,
181181
shortcut='Ctrl+R',
182182
statusTip='Toggle Readonly',
@@ -193,7 +193,7 @@ def setup_project_menu(self):
193193
key = 0
194194
else:
195195
key = i+1
196-
action = QtWidgets.QAction(self, visible=False,
196+
action = QtGui.QAction(self, visible=False,
197197
triggered=self.open_recent_file,
198198
shortcut=QtGui.QKeySequence('Ctrl+{}'.format(key)))
199199
self.recent_file_actions.append(action)
@@ -203,7 +203,7 @@ def setup_project_menu(self):
203203

204204
self.update_recent_files()
205205

206-
exit_action = QtWidgets.QAction('Exit', self.project_menu)
206+
exit_action = QtGui.QAction('Exit', self.project_menu)
207207
exit_action.triggered.connect(self.close)
208208
self.project_menu.addAction(exit_action)
209209

0 commit comments

Comments
 (0)