Skip to content

Commit fee9e03

Browse files
author
Ember Chow
committed
Switch to poetry for dependency management and deployment
1 parent 9da45a9 commit fee9e03

1 file changed

Lines changed: 27 additions & 25 deletions

File tree

pyproject.toml

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,36 @@
1-
[build-system]
2-
requires = ["setuptools>=42", "wheel"]
3-
build-backend = "setuptools.build_meta"
4-
5-
[project]
1+
[tool.poetry]
62
name = "forcedimension"
73
version = "0.1.7"
8-
authors = [
9-
{ name="Ember Chow", email="emberchow.business@gmail.com" },
10-
]
11-
description = "Python Bindings for the ForceDimension SDK"
4+
description = "Unofficial, Experimental, High-Level Python Wrappers for the Force Dimension SDK"
5+
authors = ["Ember Chow <emberchow.business@gmail.com>"]
126
readme = "README.md"
13-
requires-python = ">=3.8"
14-
license = {file="LICENSE"}
7+
license = "LGPL-3.0"
8+
documentation = "https://forcedimension-python-documentation.readthedocs.io/en/latest/"
9+
repository = "https://github.com/EmDash00/forcedimension-python"
10+
keywords = ["forcedimension", "haptics", "wrappers"]
1511
classifiers = [
16-
"Programming Language :: Python :: 3",
17-
"Programming Language :: Python :: 3 :: Only",
18-
"Programming Language :: Python :: 3.8",
19-
"Programming Language :: Python :: 3.9",
20-
"Operating System :: POSIX :: Linux",
12+
"Programming Language :: Python :: Implementation :: CPython",
13+
"Development Status :: 3 - Alpha",
2114
"Operating System :: Microsoft :: Windows",
15+
"Operating System :: POSIX :: Linux",
16+
"Operating System :: MacOS :: MacOS X",
17+
"Topic :: System :: Hardware :: Universal Serial Bus (USB) :: Human Interface Device (HID)"
2218
]
2319

24-
[project.optional-dependencies]
25-
numpy = [
26-
"numpy>=1.20",
27-
]
28-
all = [
29-
"numpy>=1.20"
30-
]
20+
[tool.poetry.dependencies]
21+
python = ">=3.8,<3.12"
22+
numpy = { version = "^1.20", optional = true }
23+
24+
[tool.poetry.extras]
25+
numpy = ['numpy']
26+
27+
[build-system]
28+
requires = ["poetry-core"]
29+
build-backend = "poetry.core.masonry.api"
3130

32-
[project.urls]
33-
"Homepage" = "https://github.com/EmDash00/forcedimension-python"
31+
[tool.pyright]
32+
venvPath = "."
33+
venv = ".venv"
3434

35+
[virtualenvs]
36+
in-project = true

0 commit comments

Comments
 (0)