Ensure README.md is available for Python package management tools (UV, pip) while keeping it out of Git tracking.
- README.md is currently maintained in Git
- It's generated from README.org using emacs/org-mode
- Several make targets depend on README.md:
test,pytest,pytest-verbose
- Remove README.md from Git tracking
- Ensure README.md is in .gitignore (already there)
- Verify README.md can still be generated via
gmake README.md - Ensure dependant make targets work correctly
# Remove README.md from git tracking without deleting the file
git rm --cached README.md
git commit -m "chore: stop tracking README.md in Git"Expected Result: README.md remains in the filesystem but no longer appears in git status.
# Remove the local README.md
rm README.md
# Generate it using make
gmake README.mdExpected Result: README.md is generated successfully from README.org.
# Test 'make test' target
make test
# Test 'make pytest' target
make pytest
# Test 'make pytest-verbose' target
make pytest-verboseExpected Result: All targets should work, automatically generating README.md if needed.
# Ensure venv setup works
rm -rf .venv
make .venv
# Test activate target
make activateExpected Result: Virtual environment is created and activated successfully.
# Delete README.md
rm README.md
# Run UV installation (with -n for dry run)
uv pip install -e . -nExpected Result: Installation process should generate README.md before proceeding.
- README.md is not tracked in git
- README.md is listed in .gitignore (already confirmed)
- README.md is generated on-demand by make targets
- Python packaging tools can access README.md for package metadata
- Remove README.md from Git tracking
- Modify make targets that depend on README.md to ensure it's always generated first
- Create a small helper script to generate README.md for CI/CD environments if needed
- Update documentation to reflect that README.md is generated, not tracked