Skip to content

Commit c5a16cf

Browse files
committed
Replace pipenv with pdm and update project setup
Use pyproject.toml for configuration and dependencies, replace mypy and flake8 with pyright and ruff, and update build and run tasks.
1 parent b09906f commit c5a16cf

11 files changed

+1088
-1002
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pdm.lock linguist-generated

.gitignore

+6-3
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,15 @@ ENV/
9696
# mkdocs documentation
9797
/site
9898

99-
# mypy
100-
.mypy_cache/
101-
10299
# pytest
103100
.pytest_cache/
104101

102+
# ruff
103+
.ruff_cache/
104+
105+
# pdm
106+
.pdm-python
107+
105108
# editor and project files
106109
.idea/
107110
.vscode/

.taplo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[formatting]
2+
array_auto_expand = false
3+
array_auto_collapse = false
4+
indent_string = " "

Pipfile

-39
This file was deleted.

Pipfile.lock

-902
This file was deleted.

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ This list is preliminary and may change before release.
2727
- Allows enabling and disabling individual mods with proper handling of xml and ini additions
2828
- Downloads and checks for updates from Nexus Mods
2929
- Detects mod conflicts and notifies when script merging is required
30+
- Allows management of manually installed mods
3031

3132
### Mod Installation
3233

@@ -50,9 +51,10 @@ This list is preliminary and may change before release.
5051
- Automatically detects the game installation path
5152
- Extracts and installs multiple mods in parallel
5253
- Requests mod information from Nexus Mods for manually installed mods
54+
- Imports the configuration from previous mod manager versions
5355

5456
## Source and Development
5557

56-
Download the source and install the requirements with `pipenv install --python 3`. Python 3.8+ and Pipenv have to be installed.
58+
Download the source and install the requirements with `pdm install`. Python 3.11+ and `pdm` have to be installed.
5759

58-
Afterwards run with `pipenv run invoke start`. To show the available build and test tasks run `pipenv run invoke --list`.
60+
Afterwards run with `pdm run invoke start`. To show the available build and test tasks run `pdm run invoke --list`.

0 commit comments

Comments
 (0)