Skip to content

Commit 806e3c1

Browse files
committed
Change build tools
1 parent 2973ca7 commit 806e3c1

4 files changed

Lines changed: 65 additions & 29 deletions

File tree

auth_lib/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from methods import AuthLib
2+
3+
__version__ = '2024.04.25'
4+
__all__ = ["AuthLib"]

pyproject.toml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
[build-system]
2+
requires = ["setuptools", "setuptools-scm"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "auth_lib_profcomff"
7+
authors = [
8+
{name = "profcomff.com", email = "admin@profcomff.com"},
9+
{name = "Semyon Grigoriev", email = "grigoriev@profcomff.com"},
10+
{name = "Roman Dyakov", email = "roman@dyakov.space"}
11+
]
12+
description = "Библиотека функций авторизации для микросервисов Твой ФФ!"
13+
readme = "README.md"
14+
requires-python = ">=3.10"
15+
license = {file = "LICENSE"}
16+
classifiers = [
17+
"Development Status :: 5 - Production/Stable",
18+
"Programming Language :: Python :: 3",
19+
"Programming Language :: Python :: 3.11",
20+
]
21+
dependencies = [
22+
"requests",
23+
]
24+
dynamic = ["version"]
25+
26+
[project.urls]
27+
Homepage = "https://app.profcomff.com"
28+
Documentation = "https://github.com/profcomff/auth-lib/blob/main/README.md"
29+
Repository = "https://github.com/profcomff/auth-lib"
30+
Issues = "https://github.com/profcomff/auth-lib/issues"
31+
Changelog = "https://github.com/profcomff/auth-lib/releases"
32+
33+
[project.entry-points.pytest11]
34+
pytest_auth_lib = "auth_lib.testing"
35+
36+
[tool.setuptools]
37+
packages = ["auth_lib"]
38+
39+
[tool.setuptools.dynamic]
40+
version = {attr = "auth_lib.__version__"}
41+
42+
[project.optional-dependencies]
43+
aio = ["aiohttp"]
44+
fastapi = ["fastapi", "starlette", "pydantic", "pydantic_settings"]
45+
testing = ["pytest", "pytest-cov", "pytest-mock", "httpx", "requests"]
46+
style = ["black", "isort", "pydocstyle", "autoflake"]
47+
48+
[project.scripts]
49+
backend = "print_service.__main__:main"
50+
51+
[tool.black]
52+
line-length = 120
53+
target-version = ['py311']
54+
skip-string-normalization = true
55+
56+
[tool.isort]
57+
line_length = 120
58+
multi_line_output = 3
59+
profile = "black"
60+
lines_after_imports = 2
61+
include_trailing_comma = true

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
requests
2-
aiohttp

setup.py

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

0 commit comments

Comments
 (0)