File tree Expand file tree Collapse file tree 4 files changed +63
-4
lines changed
Expand file tree Collapse file tree 4 files changed +63
-4
lines changed Original file line number Diff line number Diff line change 1+ name : 🐍 Build Python Wheel
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v4
17+
18+ - name : Set up Python
19+ uses : actions/setup-python@v5
20+ with :
21+ python-version : ' 3.11'
22+
23+ - name : Install build tool
24+ run : python -m pip install --upgrade build
25+
26+ - name : Build wheel
27+ run : python -m build
28+
29+ - name : Upload wheel artifact
30+ uses : actions/upload-artifact@v4
31+ with :
32+ name : oqtopus-wheel
33+ path : dist/*.whl
Original file line number Diff line number Diff line change 1+ python3 -m oqtopus.oqtopus
Original file line number Diff line number Diff line change 3434
3535from qgis .PyQt .QtGui import QIcon # noqa: E402
3636
37- from oqtopus .core .modules_config import ModulesConfig # noqa: E402
38- from oqtopus .gui .main_dialog import MainDialog # noqa: E402
39- from oqtopus .utils .plugin_utils import PluginUtils # noqa: E402
37+ from .core .modules_config import ModulesConfig # noqa: E402
38+ from .gui .main_dialog import MainDialog # noqa: E402
39+ from .utils .plugin_utils import PluginUtils # noqa: E402
4040
4141
4242def main ():
@@ -46,7 +46,7 @@ def main():
4646
4747 PluginUtils .init_logger ()
4848
49- conf_path = Path (__file__ ).parent / "oqtopus/ default_config.yaml"
49+ conf_path = Path (__file__ ).parent / "default_config.yaml"
5050
5151 with conf_path .open () as f :
5252 data = yaml .safe_load (f )
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" setuptools>=61.0" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
6+ name = " oqtopus"
7+ version = " 0.1.0"
8+ description = " A QGIS module manager"
9+ readme = " README.md"
10+ requires-python = " >=3.8"
11+ license = { file = " LICENSE" }
12+ authors = [
13+ { name =" Damiano Lombardi" , email =" damiano@opengis.ch" }
14+ ]
15+ dependencies = [
16+ " pyyaml" ,
17+ " pgserviceparser>=2.3.0,<3.0.0" ,
18+ " pum>=1.1.2,<2.0.0" ,
19+ " pydantic>=2.0" ,
20+ " psycopg>=3.1.0,<4.0.0" ,
21+ " requests>=2.31.0,<3.0.0"
22+ ]
23+
24+ [tool .setuptools .packages .find ]
25+ where = [" oqtopus" ]
You can’t perform that action at this time.
0 commit comments