weechat-matrix: Add a poetry file so we can create a release tarball.
This commit is contained in:
parent
21eba25633
commit
e80dee57e8
5 changed files with 38 additions and 5 deletions
10
README.md
10
README.md
|
@ -114,13 +114,13 @@ would have been copied using `make install`.
|
||||||
## Uploading files
|
## Uploading files
|
||||||
|
|
||||||
Uploads are done using a helper script, which is found under
|
Uploads are done using a helper script, which is found under
|
||||||
[contrib/matrix_upload](https://github.com/poljar/weechat-matrix/blob/master/contrib/matrix_upload).
|
[contrib/matrix_upload](https://github.com/poljar/weechat-matrix/blob/master/contrib/matrix_upload.py).
|
||||||
We recommend you install this under your `PATH`.
|
We recommend you install this under your `PATH` as `matrix_upload`.
|
||||||
|
|
||||||
## Downloading encrypted files
|
## Downloading encrypted files
|
||||||
|
|
||||||
Encrypted files can be opened by passing the displayed `emxc://` URI to the
|
Encrypted files can be opened by passing the displayed `emxc://` URI to the
|
||||||
[contrib/matrix_decrypt](https://github.com/poljar/weechat-matrix/blob/master/contrib/matrix_decrypt)
|
[contrib/matrix_decrypt](https://github.com/poljar/weechat-matrix/blob/master/contrib/matrix_decrypt.py)
|
||||||
helper script.
|
helper script.
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
|
@ -162,8 +162,8 @@ Configuration is completed primarily through the Weechat interface. First start
|
||||||
## Single sign-on:
|
## Single sign-on:
|
||||||
|
|
||||||
Single sign-on is supported using a helper script, the script found under
|
Single sign-on is supported using a helper script, the script found under
|
||||||
[contrib/matrix_sso_helper](https://github.com/poljar/weechat-matrix/blob/master/contrib/matrix_sso_helper)
|
[contrib/matrix_sso_helper](https://github.com/poljar/weechat-matrix/blob/master/contrib/matrix_sso_helper.py)
|
||||||
should be installed under your `PATH`.
|
should be installed under your `PATH` as `matrix_sso_helper`.
|
||||||
|
|
||||||
For single sign-on to be the preferred leave the servers username and password
|
For single sign-on to be the preferred leave the servers username and password
|
||||||
empty.
|
empty.
|
||||||
|
|
33
pyproject.toml
Normal file
33
pyproject.toml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
[tool.poetry]
|
||||||
|
name = "matrix"
|
||||||
|
version = "0.1.0"
|
||||||
|
license = "ISC"
|
||||||
|
description = "Weechat protocol script for Matrix."
|
||||||
|
authors = ["Damir Jelić <poljar@termina.org.uk>"]
|
||||||
|
packages = [
|
||||||
|
{ include = "matrix" },
|
||||||
|
{ include = "contrib/*.py" },
|
||||||
|
{ include = "main.py" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.poetry.dependencies]
|
||||||
|
python = "^3.8"
|
||||||
|
pyOpenSSL = "^19.1.0"
|
||||||
|
webcolors = "^1.11.1"
|
||||||
|
atomicwrites = "^1.3.0"
|
||||||
|
future = "^0.18.2"
|
||||||
|
attrs = "^19.3.0"
|
||||||
|
logbook = "^1.5.3"
|
||||||
|
pygments = "^2.6.1"
|
||||||
|
matrix-nio = "^0.9.0"
|
||||||
|
python-magic = "^0.4.15"
|
||||||
|
aiohttp = "^3.6.2"
|
||||||
|
requests = "^2.23.0"
|
||||||
|
typing = "^3.7.4; python_version < 3.5"
|
||||||
|
|
||||||
|
[tool.poetry.scripts]
|
||||||
|
matrix_decrypt = 'contrib/matrix_decrypt:main'
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["poetry>=0.12"]
|
||||||
|
build-backend = "poetry.masonry.api"
|
Loading…
Reference in a new issue