Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.setuptools.dynamic]
version = {attr = "spyder_vim.__version__"}

[project]
name = "spyder-vim"
dynamic = ["version"]
description = "A plugin to enable vim keybindings to the spyder editor"
readme = "README.md"
authors = [
{name = "Joseph Martinot-Lagarde and the spyder-vim contributors", email = "[email protected]"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
"Topic :: Text Editors :: Integrated Development Environments (IDE)",
]
requires-python = ">= 3.7"
dependencies = [
"qtawesome",
"qtpy",
"spyder>=6.1.0,<7.0.0",
]
license = {text = "MIT license"}

[project.urls]
Homepage = "https://github.com/spyder-ide/spyder-vim"

[project.entry-points."spyder.plugins"]
spyder_vim = "spyder_vim.spyder.plugin:SpyderVim"
2 changes: 1 addition & 1 deletion requirements/conda.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ qtawesome
qtpy
pip
setuptools
spyder>=6.0.0
spyder>=6.1.0,<7
49 changes: 3 additions & 46 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,52 +7,9 @@
"""
spyder-vim setup.
"""
import io
from setuptools import find_packages
from setuptools import setup

from spyder_vim import __version__
# Third-party imports
from setuptools import setup

# =============================================================================
# Use Readme for long description
# =============================================================================
with io.open("README.md", encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()

setup(
# See: https://setuptools.readthedocs.io/en/latest/setuptools.html
name="spyder-vim",
version=__version__,
author="Joseph Martinot-Lagarde and the spyder-vim contributors",
author_email="[email protected]",
description="A plugin to enable vim keybindings to the spyder editor",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
license="MIT license",
url="https://github.com/spyder-ide/spyder-vim",
python_requires=">= 3.7",
install_requires=[
"qtpy",
"qtawesome",
"spyder>=6.0.0",
],
packages=find_packages(),
entry_points={
"spyder.plugins": ["spyder_vim = spyder_vim.spyder.plugin:SpyderVim"],
},
classifiers=[
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Development Status :: 4 - Beta",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering",
"Topic :: Text Editors :: Integrated Development Environments (IDE)",
],
)
setup()
6 changes: 4 additions & 2 deletions spyder_vim/spyder/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@ class SpyderVim(SpyderPluginV2):
def get_name():
return _("spyder-vim")

def get_description(self):
@staticmethod
def get_description():
return _("A plugin to enable vim keybindings to the spyder editor")

def get_icon(self):
@staticmethod
def get_icon():
return QIcon()

def on_initialize(self):
Expand Down
Loading