esa / opengeode

OpenGEODE - a free SDL editor
https://opengeode.net
GNU Lesser General Public License v3.0
69 stars 20 forks source link

make separate dependencies rules #89

Open asmodehn opened 1 year ago

asmodehn commented 1 year ago

This PR is only about having separate makefile rules for the different dependencies. It will be simpler to deal with them separately in a subsequent PR.

asmodehn commented 1 year ago

Q: How can I check that my changes don't break the TASTE build ?

maxime-esa commented 1 year ago

The TASTE builds have their own CI on gitlab. Passing the CI here on Github is sufficient

asmodehn commented 1 year ago

FYI I am planning to merge the recent master in this branch. I haven't looked at it in a while, and I want to make sure everything still works fine with version 4.0. Hopefully sometime in the next few days.

asmodehn commented 1 year ago

Everything looks fine, I merged master in this branch, and did an install again:

Note : these could be installed via setup.py or requirements.txt

installing pyside6 through pip because of bugs with QML in the Debian bullseye release

python3 -m pip install --user --upgrade pyside6 pygraphviz stringtemplate3 singledispatch Requirement already satisfied: pyside6 in /home/alexv/.local/lib/python3.10/site-packages (6.4.2) Requirement already satisfied: pygraphviz in /home/alexv/.local/lib/python3.10/site-packages (1.10) Requirement already satisfied: stringtemplate3 in /home/alexv/.local/lib/python3.10/site-packages (3.1) Requirement already satisfied: singledispatch in /home/alexv/.local/lib/python3.10/site-packages (4.0.0) Requirement already satisfied: PySide6-Addons==6.4.2 in /home/alexv/.local/lib/python3.10/site-packages (from pyside6) (6.4.2) Requirement already satisfied: PySide6-Essentials==6.4.2 in /home/alexv/.local/lib/python3.10/site-packages (from pyside6) (6.4.2) Requirement already satisfied: shiboken6==6.4.2 in /home/alexv/.local/lib/python3.10/site-packages (from pyside6) (6.4.2)

PATH=~/.local/bin:"...user's path..." pyside6-rcc opengeode.qrc -o opengeode/icons.py

python3 -m pip install --user --upgrade . Processing /opt/Projects/opengeode Preparing metadata (setup.py) ... done Building wheels for collected packages: opengeode Building wheel for opengeode (setup.py) ... done Created wheel for opengeode: filename=opengeode-4.0.2-py3-none-any.whl size=8785945 sha256=34a7c5f99f73dce49fcb89eef72c4f8d85d6c7ab30f002828c893a9fe36c48d2 Stored in directory: /tmp/pip-ephem-wheel-cache-_4y1loep/wheels/55/7c/a9/e80fe9b24e508f9a3f0c8dc9afa74cee43da45faa7ebea4ab0 Successfully built opengeode Installing collected packages: opengeode Attempting uninstall: opengeode Found existing installation: opengeode 3.13.0 Uninstalling opengeode-3.13.0: Successfully uninstalled opengeode-3.13.0 Successfully installed opengeode-4.0.2


(newlines added for readability)

And running opengeode opens the GUI.