2018-09-23 10:56:21 -04:00
|
|
|
import setuptools
|
2018-10-14 15:08:11 -04:00
|
|
|
import os
|
|
|
|
|
|
|
|
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), "maubot", "__meta__.py")
|
|
|
|
__version__ = "UNKNOWN"
|
|
|
|
with open(path) as f:
|
|
|
|
exec(f.read())
|
2018-09-23 10:56:21 -04:00
|
|
|
|
|
|
|
setuptools.setup(
|
|
|
|
name="maubot",
|
2018-09-26 03:32:24 -04:00
|
|
|
version=__version__,
|
2018-09-23 10:56:21 -04:00
|
|
|
url="https://github.com/maubot/maubot",
|
|
|
|
|
|
|
|
author="Tulir Asokan",
|
|
|
|
author_email="tulir@maunium.net",
|
|
|
|
|
|
|
|
description="A plugin-based Matrix bot system.",
|
|
|
|
long_description=open("README.md").read(),
|
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
|
|
|
|
packages=setuptools.find_packages(),
|
|
|
|
|
|
|
|
install_requires=[
|
2019-06-21 07:45:54 -04:00
|
|
|
"mautrix>=0.4.dev45,<0.5",
|
2018-09-23 10:56:21 -04:00
|
|
|
"aiohttp>=3.0.1,<4",
|
|
|
|
"SQLAlchemy>=1.2.3,<2",
|
2018-09-26 03:32:24 -04:00
|
|
|
"alembic>=1.0.0,<2",
|
2018-11-28 08:28:34 -05:00
|
|
|
"Markdown>=3.0.0,<4",
|
2018-09-23 10:56:21 -04:00
|
|
|
"ruamel.yaml>=0.15.35,<0.16",
|
2019-04-15 17:55:04 -04:00
|
|
|
"attrs>=18.1.0",
|
2018-10-30 20:03:27 -04:00
|
|
|
"bcrypt>=3.1.4,<4",
|
2018-12-09 08:49:57 -05:00
|
|
|
"packaging>=10",
|
2018-12-12 18:28:23 -05:00
|
|
|
|
|
|
|
"click>=7,<8",
|
|
|
|
"colorama>=0.4,<0.5",
|
2018-12-13 11:15:24 -05:00
|
|
|
"PyInquirer>=1,<2",
|
2018-12-12 18:28:23 -05:00
|
|
|
"jinja2>=2,<3",
|
2018-09-23 10:56:21 -04:00
|
|
|
],
|
|
|
|
|
|
|
|
classifiers=[
|
2018-10-16 18:44:10 -04:00
|
|
|
"Development Status :: 3 - Alpha",
|
2018-09-23 10:56:21 -04:00
|
|
|
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
|
|
|
"Topic :: Communications :: Chat",
|
|
|
|
"Framework :: AsyncIO",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.6",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
],
|
|
|
|
entry_points="""
|
|
|
|
[console_scripts]
|
|
|
|
maubot=maubot.__main__:main
|
2018-12-12 18:28:23 -05:00
|
|
|
mbc=maubot.cli:app
|
2018-09-23 10:56:21 -04:00
|
|
|
""",
|
|
|
|
data_files=[
|
|
|
|
(".", ["example-config.yaml"]),
|
|
|
|
],
|
2018-11-01 12:11:54 -04:00
|
|
|
package_data={
|
|
|
|
"maubot": ["management/frontend/build/*", "management/frontend/build/static/css/*",
|
|
|
|
"management/frontend/build/static/js/*"],
|
2018-12-13 11:15:24 -05:00
|
|
|
"maubot.cli": ["res/*"],
|
2018-11-01 12:11:54 -04:00
|
|
|
},
|
2018-09-23 10:56:21 -04:00
|
|
|
)
|