cmake-init icon indicating copy to clipboard operation
cmake-init copied to clipboard

No instructions to execute directly from source

Open qwertymaster617 opened this issue 1 year ago • 2 comments

See title.

Really want to use this, but can't seem to figure out how. And though there is indeed an Install section in the readme, it doesn't actually describe how one executes or runs this from source. It describes dependencies and how to install it with pip, but not a way to run it from source cloned through git.

On Ubuntu 24.10 pip refuses to install cmake-init with errors regarding overwriting system python3. Not really sure how to resolve that because Ubuntu requires it's own system version of python3.

Can some instructions please be added?

qwertymaster617 avatar Nov 30 '24 18:11 qwertymaster617

There is the pyz release if you don't want to or for whatever reason can't install anything. If that works for you please close the issue.

friendlyanon avatar Nov 30 '24 23:11 friendlyanon

Any updates on this? Due to how I have the project structured, it needs the templates in a zip file (or in pyz) to preserve the directory structure. This necessitates either building the project or creating a pyz from it. The simplest is pyz creation, which is done in CI as well: https://github.com/friendlyanon/cmake-init/blob/16236c86c0c2e1b872dc4ee181951fa1f87e0f2b/.github/workflows/release.yml#L47

I'm always open to improvements in this area, but right now you can't just run the project straight from a git clone.

friendlyanon avatar Jan 21 '25 10:01 friendlyanon