From 4aa836adb0fcc5f3039cec6587762b4e8ce7a777 Mon Sep 17 00:00:00 2001 From: Midgard Date: Fri, 1 Jan 2021 17:13:54 +0100 Subject: [PATCH] Correct setup.py, add installation instructions --- README.md | 8 ++++++++ setup.py | 10 +++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 445b30b..45458f2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,14 @@ # morseman +Install with pip: +``` +pip install --user . +``` +To run (assuming Pip installs to a location in your PATH): +``` +morseman +``` ## Development To create a virtualenv and install the dependencies in it: diff --git a/setup.py b/setup.py index 8397bd5..9962931 100755 --- a/setup.py +++ b/setup.py @@ -15,13 +15,13 @@ setuptools.setup( description="Morse trainer", long_description=long_description, long_description_content_type="text/markdown", - scripts=["bin/morseman.py"], + scripts=["bin/morseman"], - url="…", + url="https://git.zeus.gent/midgard/morseman/", project_urls={ - "Source": "…", - "Change log": "…/-/blob/master/CHANGELOG.md", - "Bug tracker": "…/-/issues", + "Source": "https://git.zeus.gent/midgard/morseman/", + "Change log": "https://git.zeus.gent/midgard/morseman/-/blob/master/CHANGELOG.md", + "Bug tracker": "https://git.zeus.gent/midgard/morseman/-/issues", }, classifiers=[