The scripts.
- ìnstall.shto add the- .debfiles,- pip installand python syntax symbols. Also it rebuilds and fixes a few issues if you rename or move the repo clone directory.- gumis included to make nicer scripts.
- build.shto build the- .gz,- .whland install the package. This causes all python packages to be updated and makes ready for- hatch publish.
- freeze.shto make- requirements.txtbefore a- git addif more python dependencies become included in the project.
- pydo.shto make a virtual environment launch icon. Just in case you don't have- pipxor admin rights, and maybe need a- .desktopfile. Try- ./pydo.sh adapta_testfor example, and see- cat ./adapta_test.desktop. Yes, icons are made after launch test. You might want to edit it a little. Something to do with GUI launch and
 setting the virtual environment not being automatic, or maybe you don't need a debug terminal. You also get an icon made. For other icons, don't use a command name, just make a- .svgand pick a unique ID. It also makes a mimetype for the application icon. Put the application icon in- ìcon_basebefore- ./pydo.shso the document mimetype icon is also made.
- lang.shmakes a localization file based on the user's language setting. Also updates the localizations if new things to translate are found.
- lazy-type.shto monkey patch Neovim- LazyVimfor a- _G.typenew type definition function, which also return "object" and "class" as sub-types of "table".
Change the paths from xapp_adapta, as the name must be unique on PyPI, if
you intend to upload a derivative work there. This is important.
The C++ module .so must be edited in xapp_adapta/cpp with so.in.cpp
being edited to auto generate so.cpp. So, don't edit so.cpp. Add python
interface definitions to so.pyi in xapp_adapta.
Thanks
Simon Jackson
- git clone [email protected]:jackokring/mint-python-adapta.git
- cd mint-python-adapta
- ./install.sh(following the instructions for optional things)
- If you've changed the name from xapp_adapta,./build.shwill make a python module which can be uploaded to PyPI byhatch publish(check how in thehatchdocumentation), makingpip install xapp-adaptawork maybe?
- A pip installwould need a onceàdapta_make_localfor desktop Linux installs. Fancy icons and mimetypes
The 3-way split of C++/Python/LuaJIT-5.1 can solve most problems. The
C++ takes the role of ultimate fast without going rusty. The Python takes
the role of glue and any ML via extensive modules from its community. Lua
takes the role of a compact and reasonably fast interface to an alternate
small scene due to a very compact language embedding, and documentation that
you can read within a night.