-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #165 from Guts/dependencies/workflow
Embedded dependencies workflow
- Loading branch information
Showing
56 changed files
with
2,471 additions
and
3,429 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Dependencies upgrade workflow | ||
|
||
This plugin has external dependencies: | ||
|
||
- dulwich | ||
- giturlparse | ||
- pathvalidate | ||
|
||
Because it's still hard to install Python 3rd party packages from an index (for example <https://pypi.org>), especially on Windows or Mac systems (or even on Linux if we want to do it properly in a virtual environment), those required packages are stored in the `ext_libs` folder. | ||
|
||
## Upgrade workflow | ||
|
||
Manage versions in the `requirements/embedded.txt` file, then: | ||
|
||
```bash | ||
python -m pip install --no-deps -U -r requirements/embedded.txt -t ext_libs | ||
``` | ||
|
||
Note: even if `dulwich` depends on `certifi` and `urllib3`, we specifally install them since they are already included with QGIS. | ||
|
||
## Related links | ||
|
||
- <https://gis.stackexchange.com/questions/141320/installing-3rd-party-python-libraries-for-qgis-on-windows> | ||
- <https://github.com/QGIS-Contribution/QGIS-ResourceSharing/issues/112> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.