Closed dalito closed 4 months ago
In NFDI4Cat we are using pyLODE 2.x because of its SKOS/vocpub support and have not looked into 3.x. Therefore, this PR is against 2.x.
The packaging changes can be seen in isolation in https://github.com/dalito/pyLODE/pull/1.
This PR also
The commits isolate the changes. Pick what you need/want.
The changes make pylode pipx-installable. So installation gets very simple (for example my windows log):
C:\Users\dlinke λ pipx install git+https://github.com/dalito/pyLODE.git@nfdi4cat-2.x installed package pylode 2.13.4.dev6+g7272f97, installed using Python 3.11.5 These apps are now globally available - pylode.exe done! ✨ � ✨ C:\Users\dlinke λ pylode usage: pylode [-h] [[-i INPUTFILE | -u URL |] -lp] [-p PROFILE] [-c {true,false}] [-cs {true,false}] [-co {true,false}] [-o OUTPUTFILE] [-f {html,md,adoc}] [-log {debug,info,warning,error}] [-l LANGUAGE] [-v] pylode: error: An ontology source (-i/--inputfile or -u/--url) is required C:\Users\dlinke λ pylode -v 2.13.4.dev6+g7272f97
Since this PR is not directly usable for the 3.x-line I close this. The modernized packaging could be taken over to a new PR.
In NFDI4Cat we are using pyLODE 2.x because of its SKOS/vocpub support and have not looked into 3.x. Therefore, this PR is against 2.x.
The packaging changes can be seen in isolation in https://github.com/dalito/pyLODE/pull/1.
This PR also
The commits isolate the changes. Pick what you need/want.
The changes make pylode pipx-installable. So installation gets very simple (for example my windows log):