cocktail-collective / cocktail

A model manager for Civitai
17 stars 1 forks source link

Built cocktail wheel lacks database schema #19

Open curiousjp opened 1 month ago

curiousjp commented 1 month ago

After following the instructions provided in the README, the executable built fails because it cannot find schema.sql in the local site-packages cocktail folder. Looking in the egg-info SOURCES.txt created during the wheel build it seems that no MANIFEST.in has been provided, so all non python files are omitted from the wheel. Is this supposed to happen or is there another step that needs to be taken during setup to populate these files?

rfletchr commented 1 month ago

Hi @curiousjp Thanks for you report. Are you trying this on Linux/Mac/Windows.

Also could you clone the repo again and copy the output from git for me. I need to make sure the clone was successful (GIT LFS seems to be causing people allot of issues)

rfletchr commented 1 month ago

@curiousjp apologies I re-read your report and your 100% spot on setuptools was ignoring the sql file. I've included it now and the issue should be fixed.

I'm going to upload a new seed database aswell so you doing have to spend the day downloading data. give me a bit.

rfletchr commented 1 month ago

OK please pull the latest changes and try again.

curiousjp commented 1 month ago

Thanks @rfletchr - will be back at my workstation in twelve hours or so and will give it a try then. Appreciate you looking into it so quickly! And just to answer your earlier question - this was running in Windows.

curiousjp commented 1 month ago

OK please pull the latest changes and try again.

The install process now builds a working database on first run. I think this can be closed as resolved. Thank you!