Fix the owner in setup.py and add convienience scripts
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
5121d88817
commit
da935b57c2
13
scripts/git.sh
Executable file
13
scripts/git.sh
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
main() {
|
||||||
|
git diff >/tmp/guacamole_keysyms.diff
|
||||||
|
|
||||||
|
git add -A
|
||||||
|
git commit -sa
|
||||||
|
git push -u origin "$(git rev-parse --abbrev-ref HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
main "$@"
|
11
scripts/publish.sh
Executable file
11
scripts/publish.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
set -xe
|
||||||
|
|
||||||
|
main() {
|
||||||
|
python3 pip install setuptools wheel twine
|
||||||
|
python3 setup.py sdist bdist_wheel
|
||||||
|
python3 -m twine upload dist/*
|
||||||
|
}
|
||||||
|
|
||||||
|
main "$@"
|
6
setup.py
6
setup.py
|
@ -1,12 +1,12 @@
|
||||||
import setuptools
|
import setuptools # type: ignore
|
||||||
|
|
||||||
with open("README.md", "r") as desc:
|
with open("README.md", "r") as desc:
|
||||||
long_description: str = desc.read()
|
long_description: str = desc.read()
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="guacamole_keysyms",
|
name="guacamole_keysyms",
|
||||||
version="0.0.1",
|
version="0.0.2",
|
||||||
author="Ari Archer",
|
author="AriArcher",
|
||||||
author_email="ari.web.xyz@gmail.com",
|
author_email="ari.web.xyz@gmail.com",
|
||||||
description="Guacamole protocol key mappings for python",
|
description="Guacamole protocol key mappings for python",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
|
Loading…
Reference in a new issue