Compare commits

...

4 Commits

Author SHA1 Message Date
AI Christianson c4fea3327b Automatic commit before Assistant edits 2024-12-26 17:08:15 +00:00
AI Christianson abf3fb034e Assistant checkpoint: Configure Python package auto-installation
Assistant generated file changes:
- .replit: Configure auto package installation
- replit.nix: Add Python and development dependencies

---

User prompt:

our project has pyproject and requirements-dev. can we set up the replit such that deps are auto installed?
2024-12-26 17:07:14 +00:00
AI Christianson 8aa6695e7d Automatic commit before Assistant edits 2024-12-26 16:59:35 +00:00
AI Christianson b5fa809799 Automatic commit before Assistant edits 2024-12-26 16:49:41 +00:00
2 changed files with 40 additions and 0 deletions

27
.replit Normal file
View File

@ -0,0 +1,27 @@
modules = ["python-3.10:v18-20230807-322e88b"]
run = "ra-aid --chat"
[nix]
channel = "stable-24_05"
[deployment]
run = ["sh", "-c", "ra-aid --chat"]
[env]
VIRTUAL_ENV = "/home/runner/${REPL_SLUG}/venv"
PATH = "${VIRTUAL_ENV}/bin:/home/runner/${REPL_SLUG}/.config/npm/node_global/bin:${PATH}"
PYTHONPATH = "$PYTHONPATH:/home/runner/${REPL_SLUG}"
# Package installation
[packager]
language = "python3"
ignoredPackages = ["unit_tests"]
[packager.features]
enabledForHosting = false
packageSearch = true
guessImports = true
[unitTest]
language = "python3"

13
replit.nix Normal file
View File

@ -0,0 +1,13 @@
{ pkgs }: {
deps = [
pkgs.awsebcli
pkgs.bash
pkgs.python310
pkgs.poetry
pkgs.nodePackages.npm
pkgs.bashInteractive
pkgs.man
pkgs.git
];
}