Skip to content

Commit

Permalink
Switch to using setup.cfg and pyproject.toml
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Madison <[email protected]>
  • Loading branch information
madisongh committed Jan 24, 2022
1 parent 3318b4f commit dbd865c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
15 changes: 15 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[metadata]
name = digsigserver
version = 0.7.2
license = MIT
license_files = LICENSE
author = Matt Madison
author_email = [email protected]

[options]
packages = find:
install_requires = sanic>=21.12

[options.entry_points]
console_scripts =
digsigserver = digsigserver.scripts.digsigserver:main
18 changes: 2 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,2 @@
from setuptools import setup, find_packages

setup(
name='digsigserver',
version='0.7.2',
packages=find_packages(),
license='MIT',
author='Matt Madison',
author_email='[email protected]',
entry_points={
'console_scripts': [
'digsigserver = digsigserver.scripts.digsigserver:main',
]
},
install_requires=['sanic>=21.12']
)
from setuptools import setup
setup()

0 comments on commit dbd865c

Please sign in to comment.