Skip to content

Commit 2b2f41a

Browse files
committed
move from setup.py to pyproject.toml
1 parent 915a604 commit 2b2f41a

File tree

4 files changed

+38
-52
lines changed

4 files changed

+38
-52
lines changed

blink1/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +0,0 @@
1-
# -*- coding: utf-8 -*-
2-
""" blink1 library for python"""
3-
4-
# __all__ = [
5-
# 'Blink1',
6-
# 'Blink1ConnectionFailed',
7-
# ]
8-
# from .blink1 import Blink1,Blink1ConnectionFailed

pyproject.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[build-system]
2+
requires = ["setuptools >= 61.0.0"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "blink1"
7+
version = "0.4.0"
8+
description = "Official blink(1) control library"
9+
readme = "README.md"
10+
license = "MIT"
11+
authors = [
12+
{ name = "Salim Fadhley", email = "[email protected]" },
13+
{ name = "Tod E. Kurt", email = "[email protected]" },
14+
]
15+
classifiers = [
16+
"Development Status :: 2 - Pre-Alpha",
17+
"Environment :: Console",
18+
"Intended Audience :: Developers",
19+
"Natural Language :: English",
20+
"Operating System :: OS Independent",
21+
"Programming Language :: Python :: 3",
22+
"Topic :: Software Development :: Testing",
23+
]
24+
dependencies = [
25+
"click",
26+
"hidapi>=0.13.1",
27+
"webcolors",
28+
]
29+
30+
[project.scripts]
31+
blink1-flash = "blink1.flash:flash"
32+
blink1-shine = "blink1.shine:shine"
33+
34+
[project.urls]
35+
Homepage = "https://github.com/todbot/blink1-python"
36+
37+
[tool.setuptools.packages.find]
38+
where = ["."]

setup.cfg

Lines changed: 0 additions & 2 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)