Files
TinyTorch/settings.ini.backup
Vijay Janapa Reddi f1d47330b3 Simplify export workflow: remove module_paths.txt, use dynamic discovery
- Remove unnecessary module_paths.txt file for cleaner architecture
- Update export command to discover modules dynamically from modules/source/
- Simplify nbdev command to support --all and module-specific exports
- Use single source of truth: nbdev settings.ini for module paths
- Clean up import structure in setup module for proper nbdev export
- Maintain clean separation between module discovery and export logic

This implements a proper software engineering approach with:
- Single source of truth (settings.ini)
- Dynamic discovery (no hardcoded paths)
- Clean CLI interface (tito package nbdev --export [--all|module])
- Robust error handling with helpful feedback
2025-07-12 17:19:22 -04:00

42 lines
1.1 KiB
Plaintext

[DEFAULT]
# All sections below are required unless otherwise specified.
# See https://github.com/fastai/nbdev/blob/master/settings.ini for examples.
### Python library ###
repo = TinyTorch
lib_name = tinytorch
version = 0.1.0
min_python = 3.8
license = apache2
black_formatting = False
### nbdev ###
doc_path = _docs
lib_path = tinytorch
nbs_path = assignments/source
recursive = True
tst_flags = notest
put_version_in_init = True
### Docs ###
branch = main
custom_sidebar = False
doc_host = https://tinytorch.github.io
doc_baseurl = /TinyTorch/
git_url = https://github.com/tinytorch/TinyTorch/
title = TinyTorch
### PyPI ###
audience = Developers
author = TinyTorch Team
author_email = team@tinytorch.org
copyright = 2024 onwards, TinyTorch Team
description = Build ML Systems from Scratch - A hands-on systems course
keywords = machine learning, deep learning, systems, education
language = English
status = 3
user = tinytorch
### Optional ###
requirements = numpy>=1.20.0 matplotlib>=3.3.0 rich>=10.0.0 jupyter>=1.0.0 pytest>=6.0.0
dev_requirements = nbdev>=2.3.0 black>=22.0.0