Skip to content

Commit

Permalink
Convert to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-ess committed Nov 1, 2023
1 parent 88665ce commit ada0ce2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 15 deletions.
28 changes: 28 additions & 0 deletions server/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name="recceiver"
authors = [
{name = "Michael Davidsaver", email = "mdavidsaver@gmail.com"},
]
description="resync server"
version="1.5"
readme = "README.rst"
requires-python = ">=3.6"
dependencies = [
"requests",
"twisted",
]

[project.urls]
Repository="https://github.com/mdavidsaver/recsync"

[tool.setuptools]
packages = ["recceiver", "twisted.plugins"]
include-package-data = true

[tool.setuptools.package-data]
twisted = ["plugins/recceiver_plugin.py"]

16 changes: 1 addition & 15 deletions server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,4 @@

from setuptools import setup

setup(
name="recceiver",
version="1.5",
description="resync server",
author="Michael Davidsaver",
author_email="mdavidsaver@gmail.com",
url="https://github.com/mdavidsaver/recsync",
packages=[
"recceiver",
"twisted.plugins",
],
package_data={
"twisted": ["plugins/recceiver_plugin.py"],
},
)
setup()

0 comments on commit ada0ce2

Please sign in to comment.