2020-04-11 14:20:25 +00:00
|
|
|
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,
|
2020-04-12 20:25:27 +00:00
|
|
|
data_files=[('data', ['data/config-default.ini',
|
|
|
|
'data/email.html',
|
|
|
|
'data/email.mjml',
|
2020-04-19 21:35:51 +00:00
|
|
|
'data/email.txt',
|
|
|
|
'data/invite-email.html',
|
|
|
|
'data/invite-email.mjml',
|
|
|
|
'data/invite-email.txt']),
|
2020-05-02 17:32:58 +00:00
|
|
|
('data/static', ['data/static/admin.js',
|
|
|
|
'data/static/setup.js']),
|
2020-04-11 14:20:25 +00:00
|
|
|
('data/templates', [
|
|
|
|
'data/templates/404.html',
|
|
|
|
'data/templates/invalidCode.html',
|
|
|
|
'data/templates/admin.html',
|
2020-05-02 17:32:58 +00:00
|
|
|
'data/templates/form.html',
|
|
|
|
'data/templates/setup.html'])],
|
2020-04-11 14:20:25 +00:00
|
|
|
zip_safe=False,
|
|
|
|
install_requires=[
|
2020-04-15 09:58:35 +00:00
|
|
|
'pyOpenSSL',
|
2020-04-13 13:26:40 +00:00
|
|
|
'Flask',
|
2020-04-11 14:20:25 +00:00
|
|
|
'flask_httpauth',
|
|
|
|
'requests',
|
|
|
|
'itsdangerous',
|
|
|
|
'passlib',
|
|
|
|
'secrets',
|
2020-04-13 14:08:40 +00:00
|
|
|
'pytz',
|
2020-04-13 14:16:48 +00:00
|
|
|
'python-dateutil',
|
2020-04-13 14:08:40 +00:00
|
|
|
'watchdog',
|
2020-04-11 14:20:25 +00:00
|
|
|
'configparser',
|
|
|
|
'waitress',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|