Add support for end-to-end encryption. Fixes #46
This commit is contained in:
parent
4e767a10e4
commit
69d7a4341b
17 changed files with 203 additions and 24 deletions
14
setup.py
14
setup.py
|
@ -5,6 +5,19 @@ import os
|
|||
with open("requirements.txt") as reqs:
|
||||
install_requires = reqs.read().splitlines()
|
||||
|
||||
with open("optional-requirements.txt") as reqs:
|
||||
extras_require = {}
|
||||
current = []
|
||||
for line in reqs.read().splitlines():
|
||||
if line.startswith("#/"):
|
||||
extras_require[line[2:]] = current = []
|
||||
elif not line or line.startswith("#"):
|
||||
continue
|
||||
else:
|
||||
current.append(line)
|
||||
|
||||
extras_require["all"] = list({dep for deps in extras_require.values() for dep in deps})
|
||||
|
||||
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), "maubot", "__meta__.py")
|
||||
__version__ = "UNKNOWN"
|
||||
with open(path) as f:
|
||||
|
@ -25,6 +38,7 @@ setuptools.setup(
|
|||
packages=setuptools.find_packages(),
|
||||
|
||||
install_requires=install_requires,
|
||||
extras_require=extras_require,
|
||||
|
||||
classifiers=[
|
||||
"Development Status :: 3 - Alpha",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue