From fce50da4d4b949e3a72db7c25cbae54939d58c33 Mon Sep 17 00:00:00 2001 From: Zero Date: Thu, 22 Oct 2020 09:14:10 +0800 Subject: [PATCH 1/7] Update MANIFEST.in --- MANIFEST.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 0ecaa36..f104e0c 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,9 +2,6 @@ include MANIFEST.in include setup.py include README.md include LICENSE - +include requirements.txt include assets/*.png - - -prune assets/*.pptx From 879188a03ae78915e06b8cdcdee1d36536263d84 Mon Sep 17 00:00:00 2001 From: Zero Date: Sun, 29 Nov 2020 15:15:40 +0800 Subject: [PATCH 2/7] :package: ready for pypi --- README.md | 10 ++++++++-- setup.py | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c1bec0f..95d8541 100644 --- a/README.md +++ b/README.md @@ -30,13 +30,19 @@ So we need to build a **common API** between Flow and Plugin. ### Using `pip` -``` powershell +``` bash +>>> pip install flowlauncher +``` + +### Using `pip` + `git` + +``` bash >>> pip install git+https://github.com/Flow-Launcher/Flow.Launcher.JsonRPC.Python.git ``` ### Using `git` -``` powershell +``` bash >>> git clone https://github.com/Flow-Launcher/Flow.Launcher.JsonRPC.Python.git >>> cd Flow.Launcher.JsonRPC.Python >>> python setup.py install diff --git a/setup.py b/setup.py index 9bc3677..95a2bb6 100644 --- a/setup.py +++ b/setup.py @@ -65,6 +65,7 @@ packages=find_packages(), include_package_data=True, download_url=DOWNLOAD_URL, + install_requires=REQUIRES, requires=REQUIRES, classifiers=CLASSIFIERS ) From 97c0819751a0e32d87fd2d709d5917055d3075da Mon Sep 17 00:00:00 2001 From: Zero Date: Sun, 29 Nov 2020 15:28:34 +0800 Subject: [PATCH 3/7] :bug: fix spelling bug --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 95a2bb6..6b621fe 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ PLATFORMS = ["Windows"] CLASSIFIERS = [ - "Development Status :: 3 - Alphaa", + "Development Status :: 3 - Alpha", "Intended Audience :: Developers", From 52d70c7bc1172d468fb14e37d018b8c236d399fb Mon Sep 17 00:00:00 2001 From: Zero Date: Sun, 29 Nov 2020 15:29:04 +0800 Subject: [PATCH 4/7] :package: build `.whl` & `.zip` file --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 04ccade..bb3e7c2 100644 --- a/test.sh +++ b/test.sh @@ -1,3 +1,3 @@ python setup.py check -python setup.py bdist_wheel +python setup.py sdist bdist_wheel python setup.py install From 545f29683e8f9a29a521f8f4476555c1b44be194 Mon Sep 17 00:00:00 2001 From: Zero Date: Sun, 29 Nov 2020 15:42:46 +0800 Subject: [PATCH 5/7] :arrow_up: add dev package --- .travis.yml | 1 + requirements-dev.txt | 1 + 2 files changed, 2 insertions(+) create mode 100644 requirements-dev.txt diff --git a/.travis.yml b/.travis.yml index cbb107b..2f24b4d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ python: - "3.8" install: + - pip install -r requirements-dev.txt - pip install -r requirements.txt before_install: diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..c9133d6 --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1 @@ +twine \ No newline at end of file From 5a548ef86e24e66a4c43daec1441f988c77659c8 Mon Sep 17 00:00:00 2001 From: Zero Date: Sun, 29 Nov 2020 15:43:15 +0800 Subject: [PATCH 6/7] :pencil: add badge --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 95d8541..20be3ba 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Flow.Launcher.JsonRPC.Python -[![Build Status](https://travis-ci.org/Zeroto521/Flow.Launcher.JsonRPC.Python.svg?branch=master)](https://travis-ci.org/Zeroto521/Flow.Launcher.JsonRPC.Python) +[![Build Status](https://img.shields.io/travis/Zeroto521/Flow.Launcher.JsonRPC.Python/master?style=for-the-badge)](https://travis-ci.org/Zeroto521/Flow.Launcher.JsonRPC.Python) +[![](https://img.shields.io/pypi/v/flowlauncher.svg?style=for-the-badge)](https://pypi.org/project/flowlauncher/) +[![PyPI pyversions](https://img.shields.io/pypi/pyversions/flowlauncher?style=for-the-badge)](https://pypi.org/project/flowlauncher/) Flow Launcher supports Python by JsonRPC. From 47afac1756cd90fc43b782b9e31965988d7aeecd Mon Sep 17 00:00:00 2001 From: Zero Date: Sun, 29 Nov 2020 15:47:48 +0800 Subject: [PATCH 7/7] :package: add badges for pypi doc --- flowlauncher/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flowlauncher/__init__.py b/flowlauncher/__init__.py index cf732b6..7f4e82c 100644 --- a/flowlauncher/__init__.py +++ b/flowlauncher/__init__.py @@ -4,6 +4,6 @@ from .FlowLauncherAPI import FlowLauncherAPI -__version__ = '0.1.0' +__version__ = '0.1.1' __license__ = 'MIT' __short_description__ = 'Flow Launcher supports Python by JsonRPC.'