Skip to content

Commit

Permalink
added a setup.cfg; adapted setup.py, pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
max-Elk committed Nov 22, 2022
1 parent cfe4b77 commit 290dda5
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 29 deletions.
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[build-system]
requires = ["setuptools>=61.0"]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "elkpy_MaxELK"
name = "elkpy"
version = "1.0.0"
authors = [
{ name="Maxime Gendebien", email="[email protected]" },
Expand All @@ -14,10 +14,10 @@ readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU GPLv3 License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
]

[project.urls]
"Homepage" = "https://github.com/elkaudio/elkpy"
"Bug Tracker" = "https://github.com/elkaudio/elkpy/issues"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
protobuf==3.20.1
grpcio-tools==1.14.1
grpcio==1.46
grpcio==1.46
11 changes: 11 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[metadata]
name = elkpy
version = 1.0.0
author = Ruben Svensson
description = A basic controller for sushi using gRPC
long_description = This is a longer description for the project
url = https://github.com/elkaudio/elkpy
[options]
python_requires = >=3.7, <4
install_requires =
protobuf
27 changes: 3 additions & 24 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,4 @@
import setuptools
from elkpy import __version__
with open("README.md", "r") as fh:
long_description = fh.read()
from setuptools import setup

setuptools.setup(
name="elkpy",
version=__version__,
author="Ruben Svensson",
author_email="[email protected]",
description="A basic controller for sushi",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/elk-audio/elkpy",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
],
install_requires=[
'protobuf',
],
python_requires='>=3.6',
)
if __name__ == "__main__":
setup()

0 comments on commit 290dda5

Please sign in to comment.