-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pyproject.toml instead of old setup.py
Remove src/e3/__init__.py to use: PEP 420 – Implicit Namespace Packages See: https://peps.python.org/pep-0420/ Update tox.ini to run into an isolated build and add `ld` as test dependency.
- Loading branch information
Showing
4 changed files
with
68 additions
and
92 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,66 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "e3-core" | ||
version = "22.4" | ||
description = "E3 core. Tools and library for building and testing software" | ||
requires-python = ">=3.9" | ||
license = {text = "GPLv3"} | ||
authors = [{name = "AdaCore", email = "[email protected]"}] | ||
keywords = ["AdaCore", "Server", "Production", "SSC", "Supply chain", "Build"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"License :: AdaCore internal", | ||
"Topic :: Software Development :: Build Tool", | ||
] | ||
dependencies = [ | ||
"colorama", | ||
"pyyaml", | ||
"python-dateutil", | ||
"requests", | ||
"requests_toolbelt", | ||
"tqdm", | ||
"stevedore>1.20.0", | ||
"setuptools", | ||
] | ||
|
||
[project.optional-dependencies] | ||
config = ["tomlkit", "typeguard<3.0.0"] | ||
test = ["mock", "pytest-html", "pytest-socket", "ansi2html", "httpretty"] | ||
|
||
[project.urls] | ||
repository = "https://github.com/AdaCore/e3-core" | ||
|
||
[tools.setuptool.package_data] | ||
e3 = ["py.typed", "os/data/rlimit-*"] | ||
|
||
[project.entry-points."e3.anod.sandbox.sandbox_action"] | ||
exec = "e3.anod.sandbox.action:SandBoxExec" | ||
create = "e3.anod.sandbox.action:SandBoxCreate" | ||
show-config = "e3.anod.sandbox.action:SandBoxShowConfiguration" | ||
migrate = "e3.anod.sandbox.migrate:SandBoxMigrate" | ||
|
||
[project.entry-points."e3.event.handler"] | ||
smtp = "e3.event.handler.smtp:SMTPHandler" | ||
logging = "e3.event.handler.logging:LoggingHandler" | ||
file = "e3.event.handler.file:FileHandler" | ||
s3 = "e3.event.handler.s3:S3Handler" | ||
|
||
[project.entry-points."e3.store"] | ||
http-simple-store = "e3.store.backends.http_simple_store:HTTPSimpleStore" | ||
|
||
[project.entry-points."e3.store.cache.backend"] | ||
file-cache = "e3.store.cache.backends.filecache:FileCache" | ||
|
||
[project.entry-points.sandbox_scripts] | ||
anod = "e3.anod.sandbox.scripts:anod" | ||
|
||
[project.entry-points.console_scripts] | ||
e3 = "e3.sys:main" | ||
e3-sandbox = "e3.anod.sandbox.main:main" | ||
e3-pypi-closure = "e3.python.pypiscript:main" |
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