2018-09-23 14:56:21 +00:00
|
|
|
import setuptools
|
2019-09-29 13:55:51 +00:00
|
|
|
import glob
|
2018-10-14 19:08:11 +00:00
|
|
|
import os
|
|
|
|
|
2020-03-01 11:53:10 +00:00
|
|
|
with open("requirements.txt") as reqs:
|
|
|
|
install_requires = reqs.read().splitlines()
|
|
|
|
|
2018-10-14 19:08:11 +00:00
|
|
|
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 14:56:21 +00:00
|
|
|
|
|
|
|
setuptools.setup(
|
|
|
|
name="maubot",
|
2018-09-26 07:32:24 +00:00
|
|
|
version=__version__,
|
2018-09-23 14:56:21 +00: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(),
|
|
|
|
|
2020-03-01 11:53:10 +00:00
|
|
|
install_requires=install_requires,
|
2018-09-23 14:56:21 +00:00
|
|
|
|
|
|
|
classifiers=[
|
2018-10-16 22:44:10 +00:00
|
|
|
"Development Status :: 3 - Alpha",
|
2018-09-23 14:56:21 +00: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",
|
2019-12-28 14:04:38 +00:00
|
|
|
"Programming Language :: Python :: 3.8",
|
2018-09-23 14:56:21 +00:00
|
|
|
],
|
|
|
|
entry_points="""
|
|
|
|
[console_scripts]
|
|
|
|
maubot=maubot.__main__:main
|
2018-12-12 23:28:23 +00:00
|
|
|
mbc=maubot.cli:app
|
2018-09-23 14:56:21 +00:00
|
|
|
""",
|
|
|
|
data_files=[
|
2019-09-29 13:59:28 +00:00
|
|
|
(".", ["example-config.yaml", "alembic.ini"]),
|
2019-09-29 13:55:51 +00:00
|
|
|
("alembic", ["alembic/env.py"]),
|
|
|
|
("alembic/versions", glob.glob("alembic/versions/*.py")),
|
2018-09-23 14:56:21 +00:00
|
|
|
],
|
2018-11-01 16:11:54 +00:00
|
|
|
package_data={
|
|
|
|
"maubot": ["management/frontend/build/*", "management/frontend/build/static/css/*",
|
|
|
|
"management/frontend/build/static/js/*"],
|
2018-12-13 16:15:24 +00:00
|
|
|
"maubot.cli": ["res/*"],
|
2018-11-01 16:11:54 +00:00
|
|
|
},
|
2018-09-23 14:56:21 +00:00
|
|
|
)
|