forked from mautrix/python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (47 loc) · 1.71 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import setuptools
from mautrix import __version__
encryption_dependencies = ["python-olm", "unpaddedbase64", "pycryptodome"]
test_dependencies = ["aiosqlite", "asyncpg", "ruamel.yaml", *encryption_dependencies]
setuptools.setup(
name="mautrix",
version=__version__,
url="https://github.com/mautrix/python",
project_urls={
"Changelog": "https://github.com/mautrix/python/blob/master/CHANGELOG.md",
},
author="Tulir Asokan",
author_email="[email protected]",
description="A Python 3 asyncio Matrix framework.",
long_description=open("README.rst").read(),
packages=setuptools.find_packages(),
install_requires=[
"aiohttp>=3,<4",
"attrs>=18.1.0",
"yarl>=1.5,<2",
],
extras_require={
"detect_mimetype": ["python-magic>=0.4.15,<0.5"],
"lint": ["black~=24.1", "isort"],
"test": ["pytest", "pytest-asyncio", *test_dependencies],
"encryption": encryption_dependencies,
},
tests_require=test_dependencies,
python_requires="~=3.10",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Topic :: Communications :: Chat",
"Framework :: AsyncIO",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
package_data={
"mautrix": ["py.typed"],
"mautrix.types.event": ["type.pyi"],
"mautrix.util": ["opt_prometheus.pyi", "variation_selector.json"],
"mautrix.util.formatter": ["html_reader.pyi"],
},
)