feat: create libretime_shared package (#1349)
* feat: create libretime_shared package - We don't use pydantic.BaseSettings because of some incompatble loading behavior. * fix: whitelist pydantic in pylintrc * docs: update to new BaseConfig behavior * docs: change confusing config filepath
This commit is contained in:
parent
ba8b51af76
commit
3a615cafa0
13 changed files with 568 additions and 0 deletions
29
shared/setup.py
Normal file
29
shared/setup.py
Normal file
|
@ -0,0 +1,29 @@
|
|||
from os import chdir
|
||||
from pathlib import Path
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
here = Path(__file__).parent
|
||||
chdir(here)
|
||||
|
||||
setup(
|
||||
name="libretime-shared",
|
||||
version="1.0.0",
|
||||
description="LibreTime Shared",
|
||||
url="http://github.com/libretime/libretime",
|
||||
author="LibreTime Contributors",
|
||||
license="AGPLv3",
|
||||
packages=["libretime_shared"],
|
||||
package_data={"": ["py.typed"]},
|
||||
install_requires=[
|
||||
"click",
|
||||
"loguru",
|
||||
"pydantic",
|
||||
"pyyaml",
|
||||
],
|
||||
extras_require={
|
||||
"dev": [
|
||||
"types-pyyaml",
|
||||
],
|
||||
},
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue