Skip to content

Commit

Permalink
Replace setup.py with pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Feb 12, 2025
1 parent 54b43fe commit d63c8f2
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 51 deletions.
63 changes: 63 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
[build-system]
requires = ["setuptools>=61.2.0"]
build-backend = "setuptools.build_meta"

[project]
name = "spyder-env-manager"
description = "Spyder 6+ plugin to manage Python virtual environments and packages"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
keywords = []
authors = [
{ name = "Spyder Development Team and spyder-env-manager contributors", email = "[email protected]" },
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"envs-manager>=0.1.3",
"qtpy",
"qtawesome",
"spyder>=6",
]
dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/spyder-ide/spyder-env-manager#readme"
Issues = "https://github.com/spyder-ide/spyder-env-manager/issues"
Source = "https://github.com/spyder-ide/spyder-env-manager"

[project.entry-points.'spyder.plugins']
spyder_env_manager = "spyder_env_manager.spyder.plugin:SpyderEnvManager"

[project.optional-dependencies]
pre-commit = ["pre-commit"]

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

[tool.black]
py39 = true
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.github
| \.hg
| \.mypy_cache
| \.pytest_cache
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
51 changes: 0 additions & 51 deletions setup.py

This file was deleted.

0 comments on commit d63c8f2

Please sign in to comment.