Skip to content

Commit 1df5186

Browse files
committed
Initial release
1 parent fd5a9aa commit 1df5186

File tree

2 files changed

+65
-1
lines changed

2 files changed

+65
-1
lines changed

pyproject.toml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "fmd_api"
7+
version = "0.1.0"
8+
authors = [
9+
{name = "Devin Slick", email = "[email protected]"},
10+
]
11+
description = "A Python client for the FMD server API"
12+
readme = "README.md"
13+
requires-python = ">=3.7"
14+
classifiers = [
15+
"Programming Language :: Python :: 3",
16+
"Programming Language :: Python :: 3.7",
17+
"Programming Language :: Python :: 3.8",
18+
"Programming Language :: Python :: 3.9",
19+
"Programming Language :: Python :: 3.10",
20+
"Programming Language :: Python :: 3.11",
21+
"Programming Language :: Python :: 3.12",
22+
"License :: OSI Approved :: MIT License",
23+
"Operating System :: OS Independent",
24+
"Development Status :: 3 - Alpha",
25+
"Intended Audience :: Developers",
26+
"Topic :: Software Development :: Libraries :: Python Modules",
27+
"Topic :: System :: Monitoring",
28+
]
29+
keywords = ["fmd", "find-my-device", "location", "tracking", "device-tracking", "api-client"]
30+
dependencies = [
31+
"requests",
32+
"argon2-cffi",
33+
"cryptography",
34+
"aiohttp",
35+
]
36+
37+
[project.urls]
38+
Homepage = "https://github.com/devinslick/fmd_api"
39+
Repository = "https://github.com/devinslick/fmd_api"
40+
Issues = "https://github.com/devinslick/fmd_api/issues"
41+
Documentation = "https://github.com/devinslick/fmd_api#readme"
42+
43+
[project.optional-dependencies]
44+
dev = [
45+
"pytest>=7.0",
46+
"pytest-asyncio",
47+
"black",
48+
"flake8",
49+
"mypy",
50+
]
51+
52+
[tool.setuptools]
53+
py-modules = ["fmd_api"]
54+
55+
[tool.black]
56+
line-length = 120
57+
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
58+
59+
[tool.pytest.ini_options]
60+
testpaths = ["tests"]
61+
python_files = "test_*.py"
62+
python_classes = "Test*"
63+
python_functions = "test_*"
64+
asyncio_mode = "auto"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from setuptools import setup, find_packages
22

33
setup(
4-
name="fmd-api-client",
4+
name="fmd_api",
55
version="0.1.0",
66
author="Devin Slick",
77
author_email="[email protected]",

0 commit comments

Comments
 (0)