-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from setup.cfg to pyproject.toml entirely.
- Loading branch information
1 parent
6ad97a8
commit ec8c059
Showing
7 changed files
with
68 additions
and
96 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
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
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
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,4 @@ | ||
# This file should only ever be modified to change the version. | ||
# This will automatically prepare and create a release. | ||
|
||
__version__ = "7.0.0" |
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 |
---|---|---|
@@ -1,10 +1,62 @@ | ||
[build-system] | ||
# Specify the required build system. | ||
# Setuptools 40.9.0+ requirement is necessary to get rid of setup.py; see | ||
# https://github.com/pypa/setuptools/pull/1675 | ||
requires = ["setuptools >= 40.9.0", "wheel"] | ||
requires = ["setuptools >= 61", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "emanate" | ||
dynamic = ["version"] | ||
authors = [ | ||
{name = "Ellen Marie Dash", email = "[email protected]"}, | ||
] | ||
description = "Symlink files from one directory to another, similary to Effuse and Stow." | ||
readme = "README.md" | ||
license = {text = "MIT"} | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
] | ||
|
||
dependencies = [] | ||
|
||
requires-python = ">= 3.8" | ||
|
||
[project.urls] | ||
repository = "https://github.com/duckinator/emanate" | ||
documentation = "https://emanate-docs.netlify.app/cli.html" | ||
|
||
[project.optional-dependencies] | ||
bork = [ | ||
"bork~=6.0.1", | ||
] | ||
|
||
test = [ | ||
".[bork]", | ||
"pytest~=7.4", | ||
"pylint~=3.0", | ||
"pytest-pylint~=0.21.0", | ||
"mypy~=1.6.1", | ||
"pytest-mypy~=0.10.3", | ||
] | ||
|
||
docs = [ | ||
"pdoc3", | ||
] | ||
|
||
[project.scripts] | ||
emanate = "emanate.cli:main" | ||
|
||
[tool.setuptools] | ||
packages = ["emanate"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "emanate.__version__"} | ||
|
||
[tool.bork.zipapp] | ||
enabled = true | ||
main = "emanate.cli:main" | ||
|