Skip to content

Commit

Permalink
switched to pyproject.toml + wheels
Browse files Browse the repository at this point in the history
I don't understand how wheels are supposed to be commited.
I put them under /wheels for now.
  • Loading branch information
valcanobacon committed Feb 7, 2024
1 parent acf7575 commit 2c96b45
Show file tree
Hide file tree
Showing 24 changed files with 43 additions and 42 deletions.
39 changes: 39 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"

[project]
name = "BoostBots"
version = "0.9.1"
authors = [{email = "[email protected]"}]
description = "Boost Bots"
requires-python = ">=3.7"
dependencies = [
"lnd-grpc-client<1,>=0.3.39",
"click<9,>=8.0.3",
]

[project.optional-dependencies]
tests = [
"pytest<7,>=6.2.5",
"black<23,>=22.1.0",
"isort<6,>=5.10.1",
]
irc = ["bottom<3,>=2.2.0"]
mastodon = ["atoot @ git+https://[email protected]/valcanobacon/[email protected]"] # egg=atoot
matrix = ["matrix-nio<1,>=0.19.0"]
nostr = ["nostr @ git+https://[email protected]/valcanobacon/python-nostr"] # egg=nostr

[project.scripts]
boostirc = "src.irc:cli"
boostodon = "src.mastodon:cli"
boostodon-leaderboard = "src.mastodon:leaderboard"
boostrix = "src.matrix:cli"
boostr = "src.nostr:cli"

[tool.setuptools]
include-package-data = false

[tool.setuptools.packages.find]
include = ["src"] # src.*
namespaces = false
46 changes: 4 additions & 42 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,44 +1,6 @@
#!/usr/bin/env python3
#!/usr/bin/env python

from setuptools import find_packages, setup
import setuptools

setup(
name="BoostBots",
version="0.9.1",
python_requires=">=3.7",
description="Boost Bots",
author_email="[email protected]",
packages=find_packages(include=["src", "src.*"]),
entry_points={
"console_scripts": [
"boostirc=src.irc:cli",
"boostodon=src.mastodon:cli",
"boostodon-leaderboard=src.mastodon:leaderboard",
"boostrix=src.matrix:cli",
"boostr=src.nostr:cli",
],
},
install_requires=[
"lnd-grpc-client<1,>=0.3.39",
"click<9,>=8.0.3",
],
extras_require={
"tests": [
"pytest<7,>=6.2.5",
"black<23,>=22.1.0",
"isort<6,>=5.10.1",
],
"irc": [
"bottom<3,>=2.2.0",
],
"mastodon": [
"atoot @ git+https://[email protected]/valcanobacon/[email protected]#egg=atoot",
],
"matrix": [
"matrix-nio<1,>=0.19.0",
],
"nostr": [
"nostr @ git+https://[email protected]/valcanobacon/python-nostr#egg=nostr",
],
},
)
if __name__ == "__main__":
setuptools.setup()
Binary file added wheels/BoostBots-0.9.1-py3-none-any.whl
Binary file not shown.
Binary file added wheels/aiogrpc-1.8-py3-none-any.whl
Binary file not shown.
Binary file added wheels/appdirs-1.4.4-py2.py3-none-any.whl
Binary file not shown.
Binary file added wheels/bottom-2.2.0-py3-none-any.whl
Binary file not shown.
Binary file added wheels/click-8.1.7-py3-none-any.whl
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added wheels/importlib_resources-6.1.1-py3-none-any.whl
Binary file not shown.
Binary file added wheels/jedi-0.19.1-py2.py3-none-any.whl
Binary file not shown.
Binary file added wheels/lnd_grpc_client-0.5.3-py3-none-any.whl
Binary file not shown.
Binary file added wheels/parso-0.8.3-py2.py3-none-any.whl
Binary file not shown.
Binary file added wheels/prompt_toolkit-3.0.43-py3-none-any.whl
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added wheels/ptpython-3.0.26-py2.py3-none-any.whl
Binary file not shown.
Binary file added wheels/pygments-2.17.2-py3-none-any.whl
Binary file not shown.
Binary file added wheels/setuptools-69.0.3-py3-none-any.whl
Binary file not shown.
Binary file added wheels/six-1.16.0-py2.py3-none-any.whl
Binary file not shown.
Binary file added wheels/wcwidth-0.2.13-py2.py3-none-any.whl
Binary file not shown.
Binary file added wheels/yachalk-0.1.5-py3-none-any.whl
Binary file not shown.
Binary file added wheels/zipp-3.17.0-py3-none-any.whl
Binary file not shown.

0 comments on commit 2c96b45

Please sign in to comment.