-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace setup.py with pyproject.toml
- Loading branch information
1 parent
54b43fe
commit d63c8f2
Showing
2 changed files
with
63 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
)/ | ||
''' |