wikimore/pyproject.toml
Kumi ae73156fc9
refactor: restructure project for PyPI packaging
- Added `pyproject.toml` for project metadata and dependency management
- Moved application code to `src/wikimore` directory for better organization
- Updated `launch.json` configuration for Flask app
- Enhanced README with installation, development instructions, and badges
- Introduced `main` function in `app.py` for environment-based configuration

These changes streamline packaging and improve project maintainability.
2024-07-16 09:58:18 +02:00

26 lines
813 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "wikimore"
version = "0.1.0"
authors = [{ name = "Private.coffee Team", email = "support@private.coffee" }]
description = "A simple frontend for Wikimedia wikis"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
]
dependencies = ["flask", "bs4"]
[project.scripts]
wikimore = "wikimore.app:main"
[project.urls]
"Homepage" = "https://git.private.coffee/privatecoffee/wikimore"
"Bug Tracker" = "https://git.private.coffee/privatecoffee/wikimore/issues"
"Source Code" = "https://git.private.coffee/privatecoffee/wikimore"