Remomve linux ref. Fix trim white spaces markdown
This commit is contained in:
@@ -13,3 +13,6 @@ indent_size = 4
|
|||||||
|
|
||||||
[pyproject.toml]
|
[pyproject.toml]
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
Vendored
+15
-6
@@ -1,7 +1,11 @@
|
|||||||
{
|
{
|
||||||
"python.analysis.autoImportCompletions": true,
|
"python.analysis.autoImportCompletions": true,
|
||||||
"python.analysis.extraPaths": [".venv/lib/site-packages"],
|
"python.analysis.extraPaths": [
|
||||||
"python.analysis.fixAll": ["source.unusedImports"],
|
".venv/lib/site-packages"
|
||||||
|
],
|
||||||
|
"python.analysis.fixAll": [
|
||||||
|
"source.unusedImports"
|
||||||
|
],
|
||||||
"python.languageServer": "Pylance",
|
"python.languageServer": "Pylance",
|
||||||
"mypy-type-checker.args": [
|
"mypy-type-checker.args": [
|
||||||
"--disallow-untyped-defs=True",
|
"--disallow-untyped-defs=True",
|
||||||
@@ -13,14 +17,19 @@
|
|||||||
"--ignore_missing_imports=True",
|
"--ignore_missing_imports=True",
|
||||||
],
|
],
|
||||||
"editor.defaultFormatter": "charliermarsh.ruff",
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
||||||
"python.useEnvironmentsExtension": true,
|
|
||||||
"terminal.integrated.persistentSessionReviveProcess": "never",
|
|
||||||
"terminal.integrated.enablePersistentSessions": false,
|
|
||||||
"terminal.integrated.hideOnStartup": "always",
|
|
||||||
"[jsonc]": {
|
"[jsonc]": {
|
||||||
"editor.defaultFormatter": "vscode.json-language-features"
|
"editor.defaultFormatter": "vscode.json-language-features"
|
||||||
},
|
},
|
||||||
|
"python.useEnvironmentsExtension": true,
|
||||||
"files.exclude": {
|
"files.exclude": {
|
||||||
"**/__pycache__": true
|
"**/__pycache__": true
|
||||||
|
},
|
||||||
|
"terminal.integrated.persistentSessionReviveProcess": "never",
|
||||||
|
"terminal.integrated.enablePersistentSessions": false,
|
||||||
|
"terminal.integrated.hideOnStartup": "always",
|
||||||
|
"files.trimTrailingWhitespace": true,
|
||||||
|
"[markdown]": {
|
||||||
|
"files.trimTrailingWhitespace": false,
|
||||||
|
"editor.renderWhitespace": "all"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,58 +1,54 @@
|
|||||||
# LaTaniere Launcher UI
|
# LaTaniere Launcher UI
|
||||||
|
|
||||||
⚠️ you need [Qt Designer](https://build-system.fman.io/qt-designer-download).
|
## ⚠️ Requierments
|
||||||
|
|
||||||
|
You need [Qt6 Community Edition](https://www.qt.io/development/download-qt-installer-oss)
|
||||||
|
|
||||||
|
You need also [Qt Designer](https://build-system.fman.io/qt-designer-download) for manipulate ui file.
|
||||||
|
|
||||||
## First: create virtualenv
|
## First: create virtualenv
|
||||||
|
|
||||||
python -m venv .venv
|
`python -m venv .venv`
|
||||||
|
|
||||||
## Second: activate your virtual environment
|
## Second: activate your virtual environment
|
||||||
|
|
||||||
### Windows
|
Execute from powershell in project folder:
|
||||||
|
|
||||||
Execute in powershell:
|
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
.venv/bin/activate.ps1
|
.\.venv\Scripts\Activate.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
or batch file
|
|
||||||
|
|
||||||
```bat
|
|
||||||
.venv/bin/activate.bat
|
|
||||||
```
|
|
||||||
|
|
||||||
### Linux
|
|
||||||
|
|
||||||
Execute into terminal in project folder:
|
|
||||||
`source .venv/bin/actiave`
|
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
## Third install packages
|
## Third install packages
|
||||||
|
|
||||||
Ensure your virtual environment is active and execute these commands within it.
|
Ensure your virtual environment is active and execute these commands within it.
|
||||||
|
Run this command in the project (from terminal) folder to verify that the Python version matches your virtual environment.
|
||||||
|
|
||||||
### Using Pip
|
`(get-command python.exe).Path`
|
||||||
|
|
||||||
#### Global packages
|
### Installing and Using Pip
|
||||||
|
|
||||||
|
**Install pip into your virtual environment**
|
||||||
|
|
||||||
|
Run this command :
|
||||||
|
|
||||||
|
`py -m pip install --upgrade pip`
|
||||||
|
|
||||||
|
And check pip is correctly installed:
|
||||||
|
|
||||||
|
`(get-command pip.exe).Path`
|
||||||
|
|
||||||
|
**Install project packages**
|
||||||
|
|
||||||
`pip install -r .\requirements.txt`
|
`pip install -r .\requirements.txt`
|
||||||
|
|
||||||
#### packages for Windows only
|
|
||||||
|
|
||||||
`pip install -r .\windows_requirements.txt`
|
|
||||||
|
|
||||||
### Using install.py script
|
|
||||||
|
|
||||||
Execute `python install.py`
|
|
||||||
Note: in case if you aren't virtual environment, the script stop.
|
|
||||||
|
|
||||||
Enjoy.
|
Enjoy.
|
||||||
|
|
||||||
## Generate resource file
|
## Generate resource file
|
||||||
|
|
||||||
`rcc -g python .\resources.qrc -o .\src\resources_rc.py`
|
`rcc -g python .\resources.qrc -o .\src\resources_rc.py`
|
||||||
|
|
||||||
You need to give complete path of rcc:
|
You need to give complete path of rcc.
|
||||||
|
Example in my case:
|
||||||
`H:\Qt\6.10.2\mingw_64\bin\rcc.exe -g python resources.qrc -o .\src\resources.py`
|
`H:\Qt\6.10.2\mingw_64\bin\rcc.exe -g python resources.qrc -o .\src\resources.py`
|
||||||
|
|||||||
Reference in New Issue
Block a user