From a672efe67ac015b408d29502312e4bcf8a992a60 Mon Sep 17 00:00:00 2001 From: Chris Holdgraf Date: Fri, 9 Feb 2018 14:21:53 -0800 Subject: [PATCH] adding entry point for flit --- README.md | 3 +++ gitautopush/__init__.py | 2 +- pyproject.toml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a7cdfb..4ddba25 100644 --- a/README.md +++ b/README.md @@ -57,3 +57,6 @@ Below are parameters you can use to customize the behavior of Gitautopush. This tools was first thought up by John Lee, then adapted as a Python module by Chris Holdgraf. + +Many thanks to the [Flit packaging tool](http://flit.readthedocs.io/en/latest/) +which is used to build wheels and push to `pip`. diff --git a/gitautopush/__init__.py b/gitautopush/__init__.py index b4044d4..9a72e79 100644 --- a/gitautopush/__init__.py +++ b/gitautopush/__init__.py @@ -1,4 +1,4 @@ """A command-line tool to automatically sync/push a file to GitHub.""" -__version__ = '0.3' +__version__ = '0.3.1' from .gitautopush import main diff --git a/pyproject.toml b/pyproject.toml index 017f7f7..543de7a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,3 +10,5 @@ author-email = "choldgraf@gmail.com" home-page = "https://predictablynoisy.com/gitautopush" classifiers = ["License :: OSI Approved :: MIT License"] +[tool.flit.scripts] +gitautopush = "gitautopush.gitautopush:main"