Skip to content

Commit 1e95f0d

Browse files
authored
Merge pull request #5 from Zeroto521/master
package for pypi
2 parents cc79608 + 47afac1 commit 1e95f0d

File tree

7 files changed

+18
-10
lines changed

7 files changed

+18
-10
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ python:
66
- "3.8"
77

88
install:
9+
- pip install -r requirements-dev.txt
910
- pip install -r requirements.txt
1011

1112
before_install:

MANIFEST.in

+1-4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ include MANIFEST.in
22
include setup.py
33
include README.md
44
include LICENSE
5-
5+
include requirements.txt
66

77
include assets/*.png
8-
9-
10-
prune assets/*.pptx

README.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Flow.Launcher.JsonRPC.Python
22

3-
[![Build Status](https://travis-ci.org/Zeroto521/Flow.Launcher.JsonRPC.Python.svg?branch=master)](https://travis-ci.org/Zeroto521/Flow.Launcher.JsonRPC.Python)
3+
[![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)
4+
[![](https://img.shields.io/pypi/v/flowlauncher.svg?style=for-the-badge)](https://pypi.org/project/flowlauncher/)
5+
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/flowlauncher?style=for-the-badge)](https://pypi.org/project/flowlauncher/)
46

57
Flow Launcher supports Python by JsonRPC.
68

@@ -30,13 +32,19 @@ So we need to build a **common API** between Flow and Plugin.
3032

3133
### Using `pip`
3234

33-
``` powershell
35+
``` bash
36+
>>> pip install flowlauncher
37+
```
38+
39+
### Using `pip` + `git`
40+
41+
``` bash
3442
>>> pip install git+https://github.com/Flow-Launcher/Flow.Launcher.JsonRPC.Python.git
3543
```
3644

3745
### Using `git`
3846

39-
``` powershell
47+
``` bash
4048
>>> git clone https://github.com/Flow-Launcher/Flow.Launcher.JsonRPC.Python.git
4149
>>> cd Flow.Launcher.JsonRPC.Python
4250
>>> python setup.py install

flowlauncher/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
from .FlowLauncherAPI import FlowLauncherAPI
55

66

7-
__version__ = '0.1.0'
7+
__version__ = '0.1.1'
88
__license__ = 'MIT'
99
__short_description__ = 'Flow Launcher supports Python by JsonRPC.'

requirements-dev.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
twine

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
PLATFORMS = ["Windows"]
2525
CLASSIFIERS = [
26-
"Development Status :: 3 - Alphaa",
26+
"Development Status :: 3 - Alpha",
2727

2828
"Intended Audience :: Developers",
2929

@@ -65,6 +65,7 @@
6565
packages=find_packages(),
6666
include_package_data=True,
6767
download_url=DOWNLOAD_URL,
68+
install_requires=REQUIRES,
6869
requires=REQUIRES,
6970
classifiers=CLASSIFIERS
7071
)

test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
python setup.py check
2-
python setup.py bdist_wheel
2+
python setup.py sdist bdist_wheel
33
python setup.py install

0 commit comments

Comments
 (0)