Skip to content

Commit 0589088

Browse files
feat: Replace setup.py and requirements.txt with pyproject.toml (#543)
Co-authored-by: rtk <107722825+faretek1@users.noreply.github.com> Closes #526
1 parent 94711af commit 0589088

File tree

3 files changed

+46
-55
lines changed

3 files changed

+46
-55
lines changed

pyproject.toml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
[build-system]
2+
requires = ["setuptools >= 77.0.3"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "scratchattach"
7+
version = "2.1.13"
8+
authors = [{name = "TimMcCool"}]
9+
description = "A Scratch API Wrapper"
10+
requires-python = ">= 3.12"
11+
dependencies = [
12+
"websocket-client",
13+
"requests",
14+
"bs4",
15+
"SimpleWebSocketServer",
16+
"typing-extensions",
17+
"browser_cookie3",
18+
"aiohttp",
19+
"rich"
20+
]
21+
readme = "README.md"
22+
license = "MIT"
23+
license-files = ["LICENSE"]
24+
keywords = ["scratch api", "scratchattach", "scratch api python", "scratch python", "scratch for python", "scratch", "scratch cloud", "scratch cloud variables", "scratch bot"]
25+
classifiers=[
26+
"Development Status :: 5 - Production/Stable",
27+
"Intended Audience :: Developers",
28+
"Programming Language :: Python :: 3",
29+
"Operating System :: Unix",
30+
"Operating System :: MacOS :: MacOS X",
31+
"Operating System :: Microsoft :: Windows",
32+
]
33+
34+
[project.urls]
35+
Source = "https://github.com/timmccool/scratchattach"
36+
Homepage = "https://scratchattach.tim1de.net"
37+
38+
[project.entry-points."console_scripts"]
39+
scratch = "scratchattach.__main__:main"
40+
41+
[project.optional-dependencies]
42+
cli = ["rich-pixels"]
43+
lark = ["lark"]
44+
45+
[tool.setuptools.packages]
46+
find = {include = ["scratchattach"]}

requirements.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)