mirror of
https://github.com/hrfee/jellyfin-accounts.git
synced 2024-11-05 05:50:10 +00:00
Harvey Tindall
e8ad3f98d6
The admin page now has the option to send an invite to an email address. Since there are now two email types (invites and pw resets), the new sections have been added to config.ini, and email_template and email_plaintext have been renamed to email_html and email_text respectively.
53 lines
1.6 KiB
Python
53 lines
1.6 KiB
Python
from setuptools import find_packages, setup
|
|
|
|
with open('README.md', 'r') as f:
|
|
long_description = f.read()
|
|
|
|
setup(
|
|
name='jellyfin-accounts',
|
|
version='0.1',
|
|
scripts=['jf-accounts'],
|
|
author="Harvey Tindall",
|
|
author_email="hrfee@protonmail.ch",
|
|
description="A simple invite system for Jellyfin",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://github.com/hrfee/jellyfin-accounts",
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
],
|
|
packages=find_packages(),
|
|
# include_package_data=True,
|
|
data_files=[('data', ['data/config-default.ini',
|
|
'data/email.html',
|
|
'data/email.mjml',
|
|
'data/email.txt',
|
|
'data/invite-email.html',
|
|
'data/invite-email.mjml',
|
|
'data/invite-email.txt']),
|
|
('data/static', ['data/static/admin.js']),
|
|
('data/templates', [
|
|
'data/templates/404.html',
|
|
'data/templates/invalidCode.html',
|
|
'data/templates/admin.html',
|
|
'data/templates/form.html'])],
|
|
zip_safe=False,
|
|
install_requires=[
|
|
'pyOpenSSL',
|
|
'Flask',
|
|
'flask_httpauth',
|
|
'requests',
|
|
'itsdangerous',
|
|
'passlib',
|
|
'secrets',
|
|
'pytz',
|
|
'python-dateutil',
|
|
'watchdog',
|
|
'configparser',
|
|
'waitress',
|
|
],
|
|
)
|
|
|