-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Starting with PEP 621, `pyproject.toml` is the standard way of specifying project metadata. Also switch to using the version from `pyproject.toml` instead of having a west.version python module. Adjust documentation for the same. Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
- Loading branch information
Showing
6 changed files
with
55 additions
and
77 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.2"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "west" | ||
version = "1.2.99" | ||
authors = [{name = "Zephyr Project", email = "devel@lists.zephyrproject.org"}] | ||
description = "Zephyr RTOS Project meta-tool" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: Microsoft :: Windows", | ||
] | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"colorama", | ||
"PyYAML>=5.1", | ||
"pykwalify", | ||
"setuptools", | ||
"packaging", | ||
] | ||
|
||
[project.license] | ||
file = "LICENSE" | ||
|
||
[project.readme] | ||
file = "README.rst" | ||
content-type = "text/x-rst" | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/zephyrproject-rtos/west" | ||
|
||
[project.scripts] | ||
west = "west.app.main:main" | ||
|
||
[tool.setuptools] | ||
package-dir = {"" = "src"} | ||
zip-safe = false | ||
include-package-data = true | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
namespaces = false |
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 was deleted.
Oops, something went wrong.
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