From b17aef24e61df1a86917c14f0fb579bae523466a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 6 Jun 2019 16:16:51 +0200 Subject: [PATCH] Fix templates not getting distributed correctly --- MANIFEST.in | 2 ++ royalnet/__init__.py | 2 +- setup.py | 11 ++++++++--- 3 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000..bae4e0a4 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +recursive-include **/templates *.html +recursive-include **/static * diff --git a/royalnet/__init__.py b/royalnet/__init__.py index 107eba53..fc2e3f7e 100644 --- a/royalnet/__init__.py +++ b/royalnet/__init__.py @@ -1,5 +1,5 @@ from . import audio, bots, commands, database, network, utils, error, web -version = "5.0a14" +version = "5.0a15" __all__ = ["audio", "bots", "commands", "database", "network", "utils", "error", "web"] diff --git a/setup.py b/setup.py index e9c7721e..04f3d87e 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setuptools.setup( description="The great bot network of the Royal Games community", long_description=long_description, long_description_content_type="text/markdown", - url="https://github.com/Steffo99/royalnet", + url="https://github.com/royal-games/royalnet", packages=setuptools.find_packages(), install_requires=["python-telegram-bot>=11.1.0", "websockets>=7.0", @@ -24,7 +24,10 @@ setuptools.setup( "discord.py>=1.0.1", "youtube_dl>=2019.4.24", "ffmpeg-python>=0.1.17", - "PyNaCl>=1.3.0"], + "PyNaCl>=1.3.0", + "werkzeug>=0.15.4", + "flask>=1.0.3", + "markdown2>=2.3.8"], python_requires=">=3.7", classifiers=[ "Development Status :: 3 - Alpha", @@ -35,5 +38,7 @@ setuptools.setup( "Topic :: Multimedia :: Sound/Audio", "Topic :: Multimedia :: Video", "License :: OSI Approved :: MIT License" - ] + ], + include_package_data=True, + zip_safe=False, )