Skip to content

Commit

Permalink
Merge pull request #75 from simon-ess/use_pyproject_toml
Browse files Browse the repository at this point in the history
Convert to pyproject.toml and add requests dependency
jacomago authored Mar 7, 2024
2 parents e8cbcaf + 069fd78 commit e599f50
Showing 2 changed files with 28 additions and 15 deletions.
27 changes: 27 additions & 0 deletions server/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name="recceiver"
authors = [
{name = "Michael Davidsaver", email = "[email protected]"},
]
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
@@ -2,18 +2,4 @@

from setuptools import setup

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

0 comments on commit e599f50

Please sign in to comment.