Skip to content

Commit 702869f

Browse files
committed
Fix install threema-gateway CLI as script
Update readme
1 parent 4b49b37 commit 702869f

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
**If you are confused about why the repository has been moved, please read [Issue #5](https://github.com/lgrahl/threema-msgapi-sdk-python/issues/5).**
2-
31
# Threema Gateway API
42

53
**threema-gateway** is a Python 3 module for the Threema gateway service. This API can
@@ -53,11 +51,11 @@ to work.
5351

5452
## Command Line Usage
5553

56-
The file ``threema-gateway`` provides a command line interface for the Threema gateway.
54+
The script ``threema-gateway`` provides a command line interface for the Threema gateway.
5755
Run the following command to see usage information:
5856

5957
```
60-
$ ./threema-gateway --help
58+
$ threema-gateway --help
6159
```
6260

6361
## Feature Levels
@@ -71,5 +69,5 @@ $ ./threema-gateway --help
7169
You can see the implemented feature level by invoking the following command:
7270

7371
```
74-
$ ./threema-gateway version
72+
$ threema-gateway version
7573
```

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def get_version():
3333
'pytest-asyncio>=0.2.0',
3434
],
3535
include_package_data=True,
36-
36+
scripts=['threema-gateway'],
3737

3838
# PyPI metadata
3939
author='Lennart Grahl',

0 commit comments

Comments
 (0)