Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding 'setup.py' and 'pyproject.toml' for Local Installation #8671

Open
d-kleine opened this issue Dec 23, 2024 · 0 comments
Open

Adding 'setup.py' and 'pyproject.toml' for Local Installation #8671

d-kleine opened this issue Dec 23, 2024 · 0 comments

Comments

@d-kleine
Copy link

Is your feature request related to a problem? Please describe.
Currently, haystack and its related PyPI packages (e.g., haystack-core-integrations) lack setup.py and sometimes pyproject.toml files in their repositories. This creates challenges for developers who want to install the packages locally for testing or development purposes. Without these files:

  • Local installations (e.g., via pip install -e .) are not straightforward.
  • Developers cannot easily modify the source code and test changes locally without complex workarounds.
  • The absence of a pyproject.toml file limits compatibility with modern Python packaging standards (PEP 517/518), making it harder to manage dependencies and build processes.

Describe the solution you'd like
I propose the addition of both setup.py and pyproject.toml files to all related repositories. This would provide a robust and flexible solution for local installation, testing, and development workflows.

Describe alternatives you've considered
None

Additional context
Adding these files aligns with Python packaging best practices and enhances compatibility with modern tools (e.g., Docker). In my opinion, this feature would significantly improve the developer experience and encourage more contributions from the community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant