Skip to content

Commit

Permalink
Add PEP517 build files.
Browse files Browse the repository at this point in the history
  • Loading branch information
stegm committed Nov 1, 2020
1 parent be13850 commit 5b51762
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 19 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
/venv
__pycache__
*.egg-info

build/
dist/
pip-wheel-metadata/
3 changes: 2 additions & 1 deletion .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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"
18 changes: 18 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[metadata]
name = kostal-plenticore
version = 0.1.0
description = Kostal Plenticore REST-API client

[options]
packages =
kostal
kostal.plenticore
install_requires =
aiohttp == 3.6.3
pycryptodome == 3.9.8
prompt_toolkit == 3.0.8
click == 7.1.2

[options.entry_points]
console_scripts =
plenticore = kostal.plenticore.cli:cli
19 changes: 2 additions & 17 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,2 @@
from setuptools import setup

setup(
name='kostalplenticore',
version='1.0',
py_modules=['kostal.plenticore'],
install_requires=[
"aiohttp==3.6.3",
"pycryptodome==3.9.8",
"prompt_toolkit==3.0.8",
"click==7.1.2",
],
entry_points='''
[console_scripts]
plenticore=kostal.plenticore.cli:cli
''',
)
import setuptools
setuptools.setup()

0 comments on commit 5b51762

Please sign in to comment.