forked from jupyterhub/nativeauthenticator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (40 loc) · 1.2 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
from setuptools import find_packages, setup
with open("README.md") as fh:
long_description = fh.read()
setup(
name="jupyterhub-nativeauthenticator",
version="1.2.1.dev",
description="JupyterHub Native Authenticator",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/jupyterhub/nativeauthenticator",
author="Leticia Portella",
author_email="leportella@protonmail.com",
license="3 Clause BSD",
packages=find_packages(),
entry_points={
# Thanks to this, user are able to do:
#
# c.JupyterHub.authenticator_class = "native"
#
# ref: https://jupyterhub.readthedocs.io/en/4.0.0/reference/authenticators.html#registering-custom-authenticators-via-entry-points
#
"jupyterhub.authenticators": [
"native = nativeauthenticator:NativeAuthenticator",
],
},
install_requires=[
"jupyterhub>=1.3",
"bcrypt",
"onetimepass",
],
extras_require={
"test": [
"notebook>=6.4.1",
"pytest",
"pytest-asyncio",
"pytest-cov",
],
},
include_package_data=True,
)