Created a requirements.dev.txt just for the developers
This commit is contained in:
parent
124d086009
commit
6685b898f8
|
@ -22,7 +22,7 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get -y install libgirepository1.0-dev appstream appstream-util desktop-file-utils gettext
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements.dev.txt
|
||||
|
||||
- name: Meson build
|
||||
uses: BSFishy/meson-build@v1.0.3
|
||||
|
|
|
@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Added linters (flake8 and mypy) and fixed some errors
|
||||
- Added lint jobs for both in the CI
|
||||
- Added a flatpak job in the CI
|
||||
- Created a requirements.dev.txt just for the developers
|
||||
|
||||
### Changed
|
||||
- main.py slimmed down by about 5000 lines
|
||||
|
|
|
@ -2,11 +2,17 @@
|
|||
|
||||
## Requirements
|
||||
|
||||
Diffuse is implemented in Python and should run on any platform with Python and
|
||||
PyGObject.
|
||||
To install the requirements just to execute the binary, run:
|
||||
|
||||
* Python >= 3.4
|
||||
* PyGObject >= 3.18
|
||||
```sh
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
For developer tools, run this one instead (it includes requirements.txt):
|
||||
|
||||
```sh
|
||||
pip install -r requirements.dev.txt
|
||||
```
|
||||
|
||||
## Setup on Linux
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
-r requirements.txt
|
||||
flake8 ~= 3.8
|
||||
flake8-noqa ~= 1.2
|
||||
mypy ~= 0.910
|
|
@ -1,4 +1 @@
|
|||
flake8 ~= 3.8
|
||||
flake8-noqa ~= 1.2
|
||||
mypy ~= 0.910
|
||||
PyGObject ~= 3.40
|
||||
|
|
Loading…
Reference in New Issue