Files
gw-basic-2026/setup.py
T
Eremey Valetov 3e8aaa298b Implement Jupyter kernel for GW-BASIC 2026
Persistent subprocess model: gwbasic reads BASIC from stdin and writes
output to stdout in piped mode (no banner, no prompts, unbuffered).
Sentinel protocol (PRINT "<<<GWDONE>>>") delimits output per cell.

Features: state persistence across cells, error detection and reporting,
tab completion for GW-BASIC keywords, %reset/%timeout/%new magic
commands, Ctrl+C forwarding, automatic process restart.

Includes setup.py for pip install, kernel.json spec, install script,
and 10-test smoke suite (all passing).
2026-03-29 05:51:37 -04:00

25 lines
674 B
Python

from setuptools import setup, find_packages
setup(
name='gwbasickernel',
version='0.1.0',
description='Jupyter kernel for GW-BASIC 2026',
author='Eremey Valetov',
url='https://github.com/evvaletov/gw-basic-2026',
packages=find_packages(),
install_requires=['jupyter_client', 'ipykernel'],
entry_points={
'console_scripts': [
'gwbasickernel-install = gwbasickernel.install:main',
],
},
package_data={
'gwbasickernel': ['kernel.json'],
},
classifiers=[
'Framework :: Jupyter',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)