khoj/.gitignore
Debanjum Singh Solanky 25a749ca1d Use the src/ layout to fix packaging Khoj for PyPi
- Why
  The khoj pypi packages should be installed in `khoj' directory.
  Previously it was being installed into `src' directory, which is a
  generic top level directory name that is discouraged from being used

- Changes
 - move src/* to src/khoj/*
 - update `setup.py' to `find_packages' in `src' instead of project root
 - rename imports to form `from khoj.*' in complete project
 - update `constants.web_directory' path to use `khoj' directory
 - rename root logger to `khoj' in `main.py'
 - fix image_search tests to use the newly rename `khoj' logger
 - update config, docs, workflows to reference new path `src/khoj'
2023-02-14 15:19:06 -06:00

36 lines
510 B
Text

# Khoj artifacts
*.gz
*.pt
tests/data/models
tests/data/embeddings
# External app artifacts
__pycache__
.DS_Store
.emacs.desktop*
*.py[cod]
.vscode
# Build artifacts
/src/khoj/interface/web/images
/build/
/dist/
khoj_assistant.egg-info
/config/khoj*.yml
.pytest_cache
khoj.log
# Obsidian plugin artifacts
# ---
# npm
node_modules
# Don't include the compiled obsidian main.js file in the repo.
# They should be uploaded to GitHub releases instead.
main.js
# Exclude sourcemaps
*.map
# obsidian
data.json