Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (39 loc) · 1.38 KB
/
Copy pathsetup.py
File metadata and controls
46 lines (39 loc) · 1.38 KB
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
43
44
45
46
import os
from setuptools import setup, find_packages
from streamlit_auth import __version__
def read_requirements():
"""Lê as dependências do arquivo requirements.txt"""
with open(os.path.join(os.path.dirname(__file__), 'requirements.txt')) as f:
return f.read().splitlines()
def read_long_description():
# Carrega o README principal
with open("README.md", encoding="utf-8") as f:
readme_content = f.read()
with open("doc/readme/en.md", encoding="utf-8") as f:
en_content = f.read()
return readme_content + en_content
setup(
name="streamlit_auth_mfa",
version=__version__,
description="A robust library for authentication with Streamlit, featuring 2FA, permissions, and session management.",
long_description=read_long_description(),
long_description_content_type="text/markdown",
author="João Pedro Almeida Oliveira",
author_email="jp080496@gmail.com",
url="https://github.com/joaopalmeidao/streamlit_auth",
packages=find_packages(),
install_requires=read_requirements(),
extras_require={
"dev": [
"pytest",
"pytest-mock",
"twine",
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.9",
)