scriptlet build cruft

main
Jeff Moe 2023-11-24 21:16:48 -07:00
parent 49c63860bc
commit c86109f2ca
10 changed files with 48 additions and 19 deletions

View File

@ -3,3 +3,4 @@ Cargo.lock
venv
env
build
__pycache__

View File

@ -0,0 +1,20 @@
# Build
Build scripts, perhaps like this:
```
deactivate
make clean
make venv
source venv/bin/activate
make deps
make docs
make install
```
or:
```
deactivate ; make clean; make venv ; source venv/bin/activate ; make deps ; make install ; make docs
deactivate ; rm -rf venv ; virtualenv venv ; source venv/bin/activate ; pip install -U setuptools wheel pip ; pip install -r requirements.txt
```

View File

@ -0,0 +1,21 @@
# Makefile
all:
$(MAKE) docs
docs:
$(MAKE) -C doc html
clean:
$(MAKE) -C doc clean
rm -rf venv
venv:
python3 -m venv venv
deps:
pip install -U setuptools wheel pip
pip install -r requirements.txt
install:
pip install -e .

View File

@ -47,13 +47,13 @@ Train, using libre code from Bigcode (makers of The Stack).
# Scripts
The following scripts are available.
* `the_stack_headers` --- Reads header names from The Stack parquet files.
* `the_stack_licenses` --- Reads licenses and records from The Stack license file.
* `the_stack_headers.py` --- Reads header names from The Stack parquet files.
* `the_stack_licenses.py` --- Reads licenses and records from The Stack license file.
# Code Assist
The following scripts were written using Parrot code assist.
`The Phind-CodeLlama-34B-v2_q8.guff` model from TheBloke was used.
* `the_stack_headers`
* `the_stack_licenses`
* `the_stack_headers.py`
* `the_stack_licenses.py`

View File

@ -18,15 +18,13 @@ extensions = [
'sphinx.ext.autodoc',
]
templates_path = ['_templates']
exclude_patterns = []
exclude_patterns = ['_build']
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'alabaster'
html_static_path = ['_static']
htmlhelp_basename = 'TheStackLicensesdoc'

View File

@ -1,3 +0,0 @@
Metadata-Version: 2.1
Name: the-smack
Version: 0.0.5

View File

@ -1,6 +0,0 @@
README.md
setup.py
the_smack.egg-info/PKG-INFO
the_smack.egg-info/SOURCES.txt
the_smack.egg-info/dependency_links.txt
the_smack.egg-info/top_level.txt