A text-mode web browser with AI help, inspired by Lynx, plus TextFirst.css for text-first websites.

0 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-textbrowser.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-textbrowser.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-textbrowser.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

danq9 Add Gateway Architecture documentation 2693936 1 year ago History
setup.py · 2.0 KB · 63 lines
1"""
2Setup script for DBBasic TextBrowser
3"""
4
5from setuptools import setup, find_packages
6import os
7
8# Read the long description from README
9with open("README.md", "r", encoding="utf-8") as fh:
10 long_description = fh.read()
11
12# Read requirements
13with open("requirements.txt", "r", encoding="utf-8") as fh:
14 requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]
15
16setup(
17 name="dbbasic-textbrowser",
18 version="0.1.0",
19 author="DBBasic TextBrowser Contributors",
20 description="A text-mode web browser with AI assistance",
21 long_description=long_description,
22 long_description_content_type="text/markdown",
23 url="https://github.com/askrobots/dbbasic-textbrowser",
24 packages=find_packages(),
25 py_modules=["browser"],
26 classifiers=[
27 "Development Status :: 3 - Alpha",
28 "Intended Audience :: Developers",
29 "Intended Audience :: End Users/Desktop",
30 "Topic :: Internet :: WWW/HTTP :: Browsers",
31 "License :: OSI Approved :: MIT License",
32 "Programming Language :: Python :: 3",
33 "Programming Language :: Python :: 3.8",
34 "Programming Language :: Python :: 3.9",
35 "Programming Language :: Python :: 3.10",
36 "Programming Language :: Python :: 3.11",
37 "Programming Language :: Python :: 3.12",
38 "Operating System :: POSIX :: Linux",
39 "Operating System :: MacOS",
40 "Environment :: Console :: Curses",
41 ],
42 python_requires=">=3.8",
43 install_requires=requirements,
44 extras_require={
45 "dev": [
46 "pytest>=7.0.0",
47 ],
48 },
49 entry_points={
50 "console_scripts": [
51 "dbbasic-textbrowser=browser:cli",
52 ],
53 },
54 include_package_data=True,
55 package_data={
56 "": ["*.html", "*.md"],
57 },
58 keywords="browser text terminal curses ai lynx web accessibility",
59 project_urls={
60 "Bug Reports": "https://github.com/askrobots/dbbasic-textbrowser/issues",
61 "Source": "https://github.com/askrobots/dbbasic-textbrowser",
62 },
63)