mirror of
https://seed.flo-the.dev/z3gWc1qgaeZaoGwL4WTstLNoqjayM.git
synced 2025-12-06 04:47:35 +01:00
move to pyproject.toml
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
25
pyproject.toml
Normal file
25
pyproject.toml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["setuptools"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "smtprd-ng"
|
||||||
|
version = "0.0.1"
|
||||||
|
description = "SMTP forwarding relay daemon with signing and encryption"
|
||||||
|
authors = [{ name = "Florian Brandes", email = "dev@mail.flo-the.dev" }]
|
||||||
|
classifiers = ["License :: OSI Approved :: GNU Affero General Public License v3" ]
|
||||||
|
license = { text = "MIT License" }
|
||||||
|
dependencies = [
|
||||||
|
"aiosmtpd",
|
||||||
|
"aiosmtplib",
|
||||||
|
"M2Crypto",
|
||||||
|
"cryptography",
|
||||||
|
]
|
||||||
|
requires-python = ">=3.10"
|
||||||
|
keywords = ["smtp", "smime"]
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
smtprd-ng = "smtprd_ng.smtprd:main"
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
Repository = "https://app.radicle.xyz/nodes/seed.radicle.garden/rad:z3gWc1qgaeZaoGwL4WTstLNoqjayM"
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
mypy
|
|
||||||
flake8
|
|
||||||
bandit
|
|
||||||
23
setup.py
23
setup.py
@@ -1,21 +1,4 @@
|
|||||||
try:
|
# pylint: disable=missing-docstring
|
||||||
from distutils.core import setup
|
from setuptools import setup
|
||||||
except ImportError:
|
|
||||||
from setuptools import setup
|
|
||||||
|
|
||||||
name = "smtprd"
|
setup()
|
||||||
url = "https://www.hackitu.de/smtprd/"
|
|
||||||
requirements = open("requirements.txt", "r").read().splitlines(keepends=False)
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name=name,
|
|
||||||
version="0.1",
|
|
||||||
description="SMTP forwarding relay daemon",
|
|
||||||
classifiers=["License :: OSI Approved :: GNU Affero General Public License v3"],
|
|
||||||
author=url,
|
|
||||||
author_email="@",
|
|
||||||
url=url,
|
|
||||||
scripts=[name + ".py"],
|
|
||||||
entry_points={"console_scripts": ["{}={}:main".format(name, name)]},
|
|
||||||
install_requires=requirements,
|
|
||||||
)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user