Skip to content

Commit

Permalink
Merge pull request #5 from Zeroto521/master
Browse files Browse the repository at this point in the history
package for pypi
  • Loading branch information
Zeroto521 authored Nov 29, 2020
2 parents cc79608 + 47afac1 commit 1e95f0d
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 10 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ python:
- "3.8"

install:
- pip install -r requirements-dev.txt
- pip install -r requirements.txt

before_install:
Expand Down
5 changes: 1 addition & 4 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ include MANIFEST.in
include setup.py
include README.md
include LICENSE

include requirements.txt

include assets/*.png


prune assets/*.pptx
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -30,13 +32,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
Expand Down
2 changes: 1 addition & 1 deletion flowlauncher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
twine
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

PLATFORMS = ["Windows"]
CLASSIFIERS = [
"Development Status :: 3 - Alphaa",
"Development Status :: 3 - Alpha",

"Intended Audience :: Developers",

Expand Down Expand Up @@ -65,6 +65,7 @@
packages=find_packages(),
include_package_data=True,
download_url=DOWNLOAD_URL,
install_requires=REQUIRES,
requires=REQUIRES,
classifiers=CLASSIFIERS
)
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
python setup.py check
python setup.py bdist_wheel
python setup.py sdist bdist_wheel
python setup.py install

0 comments on commit 1e95f0d

Please sign in to comment.