diff --git a/README.md b/README.md index 1e82757..4ee305b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Starkiller +[![PyPI - Version](https://img.shields.io/pypi/v/starkiller)](https://pypi.org/project/starkiller/) +![PyPI - Python Version](https://img.shields.io/pypi/pyversions/starkiller) [![CI status](https://github.com/kompoth/starkiller/actions/workflows/ci.yaml/badge.svg)](https://github.com/kompoth/starkiller/actions) **Work in progress** @@ -29,8 +31,7 @@ To enable the plugin install Starkiller in the same virtual environment as `pyth dependency. E.g., with `pipx`: ```bash -uv build -pipx inject python-lsp-server ./dist/starkiller--py3-none-any.whl[pylsp] +pipx inject python-lsp-server starkiller[pylsp] ``` The plugin is enabled just the same way as any other `pylsp` plugin. E.g., in Neovim via diff --git a/pyproject.toml b/pyproject.toml index 6086199..f0a7c74 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,29 @@ [project] name = "starkiller" -version = "0.1.2" +version = "0.1.3" description = "Import refactoring package and pylsp plugin" readme = "README.md" requires-python = ">=3.12" dependencies = [ "jedi>=0.19.2", ] +classifiers = [ + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Intended Audience :: Developers", + "Topic :: Software Development", + "Topic :: Software Development :: Code Generators", + "Typing :: Typed", + "Environment :: Plugins", + "Development Status :: 3 - Alpha", + "License :: OSI Approved :: MIT License", +] + +[project.urls] +Homepage = "https://github.com/kompoth/starkiller" [project.optional-dependencies] pylsp = [ @@ -21,6 +38,10 @@ dev = [ "pytest-virtualenv>=1.8.1", ] +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + [project.entry-points.pylsp] starkiller = "starkiller.pylsp_plugin.plugin" @@ -56,3 +77,9 @@ convention = "google" line_length = 120 multi_line_output = 3 split_on_trailing_comma = true + +[[tool.uv.index]] +name = "testpypi" +url = "https://test.pypi.org/simple/" +publish-url = "https://test.pypi.org/legacy/" +explicit = true