Vest build support for .NET projects
Project description
Vest support for .NET
.NET build support for Vest, a Python-based build system for bespoke use.
Requirements
The project assumes that the following dependencies are installed:
- The .NET SDK, with
dotnetonPATH. csc. You can install this viadotnet tool install csc.ilcfor Native AOT compilation. You can install this viadotnet tool install ilc.
Examples
Building or publishing an existing project
from vest import *
from vest.dotnet import dotnet_publish
component(name = "my-service")
@task
def publish():
artifacts = dotnet_publish(
configuration = "Release",
rid = "linux-x64"
)
return artifacts.publish
Native AOT compilation
ilc_compile turns an IL assembly into a native object file via dotnet ilc, which can then
be fed into your own linker invocation:
from vest.dotnet import ilc_compile
@task
def aot():
asm = dotnet_build(
configuration = dotnet_configuration(),
rid = rid(),
properties = {
"Arch": "x64"
}
)
ilc_compile(
input = asm.build,
output = f"{artifact_dir()}/obj/my-object.o",
target_arch = "x64",
stdlib_assembly = "Azerou.CoreLib",
nativelib = True
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vest_build_dotnet-0.0.3.tar.gz.
File metadata
- Download URL: vest_build_dotnet-0.0.3.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cc03d257b861fd245605ee13e77eb59854dc87c0d65e0b79d4072586eac5512
|
|
| MD5 |
390243fce76c73875c2e696e8538e7e0
|
|
| BLAKE2b-256 |
0a9c471b2f2474d67cc3709ae7b368c9486e30f0384d111641d8dc68e1078178
|
File details
Details for the file vest_build_dotnet-0.0.3-py3-none-any.whl.
File metadata
- Download URL: vest_build_dotnet-0.0.3-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
700e19d1ec1b0ddde8332c85e169232f7cade3e94930edeb6dfe761944eb267d
|
|
| MD5 |
c86fe60ab8c394d5e38dea8b7d85bb60
|
|
| BLAKE2b-256 |
909167f53c9514048946c2c2ec97320c0dea39df0579afb02693db69804d985c
|