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

Allow local Development without pip install using "pip install -e ." #1474

Merged

Conversation

bszollosinagy
Copy link
Contributor

Background

AutoGPT is now started with python -m autogpt, but that can fail if the user simply cloned the repository, and did not install it via pip. Usually, pip install -e . is enough to install the source code into PIP, but for that to work, the changes from this PR are necessary (mainly because pip finds other directories such as "output" and "log", and confuses it).

Changes

Simply added a [tool.setuptools] section to pyproject.toml. This is enough for pip install -e . to work properly.

Documentation

This PR is the documentation.

Test Plan

Tested locally. It does not break things, yet works for the intended purpose.

PR Quality Checklist

  • My pull request is atomic and focuses on a single change.
  • I have thoroughly tested my changes with multiple different prompts.
  • I have considered potential risks and mitigations for my changes.
  • I have documented my changes clearly and comprehensively.
  • I have not snuck in any "extra" small tweaks changes

@nponeccop nponeccop mentioned this pull request Apr 15, 2023
1 task
@richbeales richbeales merged commit 6222b2d into Significant-Gravitas:master Apr 17, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants