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/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 diff --git a/README.md b/README.md index c1bec0f..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. @@ -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 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.' 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 diff --git a/setup.py b/setup.py index 9bc3677..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", @@ -65,6 +65,7 @@ packages=find_packages(), include_package_data=True, download_url=DOWNLOAD_URL, + install_requires=REQUIRES, requires=REQUIRES, classifiers=CLASSIFIERS ) 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