From b6a30791fee6690b03515f7ceb3378e93cef91cc Mon Sep 17 00:00:00 2001 From: "dorin.clisu" Date: Sat, 27 Feb 2021 18:28:20 +0200 Subject: [PATCH] add package meta --- README.md | 4 ++-- setup.py | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 08cfff3..97bfb0a 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ Integrate FastAPI with https://auth0.com in a simple and elegant way. Get automatic Swagger UI integration for the implicit scheme (along others), which means that signing in using social providers is only a few clicks away with no additional code. # Installation -- Latest version: `pip install https://github.com/dorinclisu/fastapi-auth0/archive/master.zip` -- Locked version: `pip install https://github.com/dorinclisu/fastapi-auth0/archive/x.y.z.zip` (check release tags) +- `pip install fastapi-auth0` +- Latest beta: `pip install -i https://test.pypi.org/simple/ fastapi-auth0` # Requirements Reading auth0 docs is recommended in order to understand the following concepts: diff --git a/setup.py b/setup.py index 85f10f4..8e6befc 100644 --- a/setup.py +++ b/setup.py @@ -1,15 +1,21 @@ import setuptools +with open('README.md', encoding='utf-8') as file: + readme = file.read() + setuptools.setup( name='fastapi-auth0', version='0.1.3', + description='Easy auth0.com integration for FastAPI', + long_description=readme, + long_description_content_type='text/markdown', + url='https://github.com/dorinclisu/fastapi-auth0', author='Dorin Clisu', author_email='dorin.clisu@gmail.com', + license='GNU-GPL-V3', packages=setuptools.find_packages('src'), package_dir={'': 'src'}, - license='GNU-GPL-V3', - description='Easy auth0.com integration for FastAPI', python_requires='>=3.6', install_requires=['fastapi>=0.60.0', 'python-jose>=3.2.0', 'requests'] )