Skip to content

Commit 7dbff2d

Browse files
committed
Converted setup.py to pyproject.toml
1 parent a327e48 commit 7dbff2d

2 files changed

Lines changed: 53 additions & 1 deletion

File tree

setup.py renamed to archive/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup
22

3-
with open('pypi_desc.md') as f:
3+
with open('../pypi_desc.md') as f:
44
long_description = f.read()
55

66
setup(

pyproject.toml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools.packages]
6+
find = { } # Scan the project directory with the default parameters
7+
8+
[project]
9+
name = "python_banyan"
10+
version = "3.16"
11+
12+
authors = [
13+
{ name = "Alan Yorinks", email = "MisterYsLab@gmail.com" },
14+
]
15+
16+
description = "The Python Banyan Framework"
17+
readme = "README.md"
18+
requires-python = ">=3.8"
19+
license = { text = "AGPL-3.0-or-later" }
20+
21+
keywords = ['python banyan', 'RPC', 'Remote Procedure Call', 'Event Driven',
22+
'Asynchronous', 'Non-Blocking',
23+
'Raspberry Pi', 'ZeroMQ', 'MessagePack', 'RedBot']
24+
classifiers = [
25+
'Development Status :: 5 - Production/Stable',
26+
'Environment :: Other Environment',
27+
'Intended Audience :: Developers',
28+
'Intended Audience :: Education',
29+
'Operating System :: OS Independent',
30+
'Topic :: Software Development :: Libraries :: Python Modules'
31+
]
32+
33+
dependencies = [
34+
'pyzmq',
35+
'msgpack-python',
36+
'numpy>=1.9',
37+
'msgpack-numpy',
38+
'psutil',
39+
'apscheduler',
40+
'websockets==13.1'
41+
]
42+
43+
[project.scripts]
44+
backplane = 'python_banyan.backplane.backplane:bp'
45+
monitor = 'python_banyan.utils.monitor.monitor:monitor'
46+
bls = 'python_banyan.utils.banyan_launcher.bls:bls'
47+
blc = 'python_banyan.utils.banyan_launcher.blc:blc'
48+
blk = 'python_banyan.utils.banyan_launcher.blk:blk'
49+
mgw = 'python_banyan.utils.mqtt_gateway.mqtt_gateway:mqtt_gateway'
50+
tgw = 'python_banyan.utils.tcp_gateway.tcp_gateway:tcp_gateway'
51+
52+

0 commit comments

Comments
 (0)