Skip to content

Commit

Permalink
Merge pull request #16 from dalthviz/module_discoverable
Browse files Browse the repository at this point in the history
PR: Missing specification in `pyproject.toml` to make `kite_provider` discoverable
  • Loading branch information
dalthviz authored Nov 20, 2023
2 parents 66e7197 + feddf14 commit 43c0868
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/linux-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,7 @@ jobs:
shell: bash -l {0}
run: |
conda info
conda list
conda list
- name: Run tests
shell: bash -l {0}
run: pytest kite_provider -vv
5 changes: 4 additions & 1 deletion .github/workflows/macos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,7 @@ jobs:
shell: bash -l {0}
run: |
conda info
conda list
conda list
- name: Run tests
shell: bash -l {0}
run: pytest kite_provider -vv
5 changes: 4 additions & 1 deletion .github/workflows/windows-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,7 @@ jobs:
shell: bash -l {0}
run: |
conda info
conda list
conda list
- name: Run tests
shell: bash -l {0}
run: pytest kite_provider -vv
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To use this completions provider you will need to install Spyder 6 (at least 6.0

To install the provider package, you can use `pip` with something like:

pip install git+https://github.com/spyder-ide/kite-provider.git@v0.1.0
pip install git+https://github.com/spyder-ide/kite-provider.git@v0.2.0

**Note:** Support for Kite is not available anymore. The code here is meant to be used for demonstration proposes only, using it could brake your Spyder setup or make Spyder unstable! Use/install at your own risk.

Expand Down
3 changes: 1 addition & 2 deletions kite_provider/parsing/tests/test_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
# Licensed under the terms of the MIT License


from parsing import (
find_returning_function_path)
from kite_provider.parsing import find_returning_function_path


def test_find_returning_function_path():
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "kite-provider"
version = "0.1.0"
version = "0.2.0"
description = "Kite completions provider for Spyder"
authors = [
{name = "Spyder Project Contributors", email = "[email protected]"},
Expand Down Expand Up @@ -34,6 +34,7 @@ Homepage = "https://github.com/spyder-ide/kite-provider"
kite = "kite_provider.provider:KiteProvider"

[tool.setuptools]
py-modules = []
packages = ["kite_provider"]
py-modules = ["__init__"]
license-files = ["LICENSE"]
include-package-data = false

0 comments on commit 43c0868

Please sign in to comment.