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 #170 from isogeo/master
Start QGIS 3 dev
- Loading branch information
Showing
252 changed files
with
66,706 additions
and
18,891 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,58 @@ | ||
language: python | ||
dist: trusty | ||
|
||
python: | ||
- "2.7" | ||
|
||
virtualenv: | ||
system_site_packages: true | ||
|
||
cache: | ||
apt: true | ||
pip: true | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
git: | ||
depth: 20 | ||
|
||
addons: | ||
apt: | ||
update: true | ||
sources: | ||
- sourceline: 'deb https://qgis.org/ubuntu-ltr/ trusty main' | ||
packages: | ||
- python-software-properties | ||
- qgis | ||
- python-qgis | ||
- pyqt4-dev-tools | ||
|
||
before_script: | ||
- echo "Build starting on " `date` | ||
- export QGIS_PREFIX_PATH=/usr | ||
- export PYTHONPATH=${QGIS_PREFIX_PATH}/share/qgis/python/:${QGIS_PREFIX_PATH}/share/qgis/python/plugins:`pwd` | ||
- echo "PYTHONPATH:" $PYTHONPATH | ||
- export LD_LIBRARY_PATH=${QGIS_PREFIX_PATH}/lib | ||
|
||
script: | ||
# translations | ||
- pylupdate4 -noobsolete -verbose isogeo_search_engine.pro | ||
# ui compile | ||
- pyuic4 -x "ui/isogeo_dockwidget_base.ui" -o "ui/.ui_isogeo.py" | ||
- pyuic4 -x "ui/auth/ui_authentication.ui" -o "ui/auth/ui_authentication.py" | ||
- pyuic4 -x "ui/credits/ui_credits.ui" -o "ui/credits/ui_credits.py" | ||
- pyuic4 -x "ui/metadata/ui_md_details.ui" -o "ui/metadata/ui_md_details.py" | ||
- pyuic4 -x "ui/quicksearch/ui_quicksearch_rename.ui" -o "ui/quicksearch/ui_quicksearch_rename.py" | ||
- pyuic4 -x "ui/quicksearch/ui_quicksearch_new.ui" -o "ui/quicksearch/ui_quicksearch_new.py" | ||
# packaging | ||
- python tools/plugin_packager.py | ||
|
||
deploy: | ||
provider: releases | ||
api_key: ${GITHUB_API_KEY_TOKEN} | ||
file: "build/latest/isogeo_search_engine.zip" | ||
skip_cleanup: true | ||
on: | ||
tags: true |
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,117 @@ | ||
{ | ||
// Utilisez IntelliSense pour en savoir plus sur les attributs possibles. | ||
// Pointez pour afficher la description des attributs existants. | ||
// Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
|
||
{ | ||
"name": "Python: Current File", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${file}" | ||
}, | ||
{ | ||
"name": "Python: Attach", | ||
"type": "python", | ||
"request": "attach", | ||
"localRoot": "${workspaceFolder}", | ||
"remoteRoot": "${workspaceFolder}", | ||
"port": 3000, | ||
"secret": "my_secret", | ||
"host": "localhost" | ||
}, | ||
{ | ||
"name": "Python: Terminal (integrated)", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${file}", | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"name": "Python: Terminal (external)", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${file}", | ||
"console": "externalTerminal" | ||
}, | ||
{ | ||
"name": "Python: Django", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/manage.py", | ||
"args": [ | ||
"runserver", | ||
"--noreload", | ||
"--nothreading" | ||
], | ||
"debugOptions": [ | ||
"RedirectOutput", | ||
"Django" | ||
] | ||
}, | ||
{ | ||
"name": "Python: Flask (0.11.x or later)", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "flask", | ||
"env": { | ||
"FLASK_APP": "app.py" | ||
}, | ||
"args": [ | ||
"run", | ||
"--no-debugger", | ||
"--no-reload" | ||
] | ||
}, | ||
{ | ||
"name": "Python: Module", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "module.name" | ||
}, | ||
{ | ||
"name": "Python: Pyramid", | ||
"type": "python", | ||
"request": "launch", | ||
"args": [ | ||
"${workspaceFolder}/development.ini" | ||
], | ||
"debugOptions": [ | ||
"RedirectOutput", | ||
"Pyramid" | ||
] | ||
}, | ||
{ | ||
"name": "Python: Watson", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/console.py", | ||
"args": [ | ||
"dev", | ||
"runserver", | ||
"--noreload=True" | ||
] | ||
}, | ||
{ | ||
"name": "Python: All debug Options", | ||
"type": "python", | ||
"request": "launch", | ||
"pythonPath": "${config:python.pythonPath}", | ||
"program": "${file}", | ||
"module": "module.name", | ||
"env": { | ||
"VAR1": "1", | ||
"VAR2": "2" | ||
}, | ||
"envFile": "${workspaceFolder}/.env", | ||
"args": [ | ||
"arg1", | ||
"arg2" | ||
], | ||
"debugOptions": [ | ||
"RedirectOutput" | ||
] | ||
} | ||
] | ||
} |
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,5 @@ | ||
# dev.env - development configuration | ||
OSGEO4W_ROOT=C:/OSGeo4W64 | ||
QT_PLUGIN_PATH=C:/OSGeo4W64/apps/qgis-ltr/qtplugins;C:/OSGeo4W64/apps/qt4/plugins | ||
PYTHONHOME=C:/OSGeo4W64/apps/Python27 | ||
PYTHONPATH=C:/OSGeo4W64/bin/python.exe;C:/OSGeo4W64/apps/qgis-ltr/python; |
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,9 @@ | ||
{ | ||
"python.jediEnabled": true, | ||
"pyqt-integration.qtdesigner.path": "C:/OSGeo4W64/bin//designer.exe", | ||
"pyqt-integration.pyuic.cmd": "pyuic4", | ||
"pyqt-integration.pyrcc.cmd": "pyrcc4", | ||
"pyqt-integration.pyrcc.compile.filepath": "${workspace}/${qrc_name}.py", | ||
"python.linting.enabled": true, | ||
"python.pythonPath": "C:\\Users\\julien.moura\\.virtualenvs\\isogeo_search_engine_dev-d762mfF6\\Scripts\\python.exe" | ||
} |
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,14 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[dev-packages] | ||
"pb_tool" = "*" | ||
|
||
[packages] | ||
isogeo-pysdk = "*" | ||
"pathlib2" = "*" | ||
|
||
[requires] | ||
python_version = "2.7" |
Oops, something went wrong.