emirsahin1 / llm-axe

A simple, intuitive toolkit for quickly implementing LLM powered applications.
MIT License
67 stars 14 forks source link

Build Issue. #7

Closed yoni13 closed 3 weeks ago

yoni13 commented 4 weeks ago

Hello, I am trying to use this amazing module to build my llm app, When I was trying to make changes to the repo and build to test it, there was no standard setup.py or pyproject.toml provided. Can you provide your setup.py or pyproject.toml to make the module installable from the source?

emirsahin1 commented 4 weeks ago

Apologies for the oversight. I've added setup.py and init.py to the repository.

The command I use to build:

python setup.py sdist bdist_wheel

I hope that helps!

yoni13 commented 4 weeks ago

It worked, thanks. for those who can't figure out, try: python3 -m pip install --upgrade pip setuptools wheel

yoni13 commented 3 weeks ago

I can build this time, but the build only contains the .dist-info directory, and the return of find_packages() returns an empty list. I have no idea how it work last time but maybe I can find a way to figure it out.

emirsahin1 commented 3 weeks ago

Try placing the setup file outside of the main directory in a parent folder. That's how I've been building for release.

Let me know if that works.

yoni13 commented 3 weeks ago

Try placing the setup file outside of the main directory in a parent folder. That's how I've been building for release.

Let me know if that works.

I re-structured the module in the latest pr commit to make it work, if you think the old one is better, let me know and I will change it back, thanks!