Skip to content

Commit

Permalink
Merge pull request #16 from ravenexp/release-0.2.2
Browse files Browse the repository at this point in the history
Release version 0.2.2
  • Loading branch information
ravenexp authored May 10, 2022
2 parents 7bf8962 + 121c7b6 commit ac9a080
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 20 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

All notable changes to this project will be documented in this file.

## [0.2.2] - 2022-05-10

### Features

- Include `python3.def` itself in the Rust source in [#10](https://github.com/pyo3/python3-dll-a/pull/10)
- Add support for generating non-abi3 `pythonXY.dll` in [#15](https://github.com/pyo3/python3-dll-a/pull/15)

### CI

- Automate `stable_abi.txt` updates in [#6](https://github.com/pyo3/python3-dll-a/pull/6)

## [0.2.1] - 2022-04-17

### Features
Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "python3-dll-a"
version = "0.2.1"
version = "0.2.2"
edition = "2021"
description = "Standalone python3.dll import library generator"
description = "Standalone python3(y).dll import library generator"
repository = "https://github.com/pyo3/python3-dll-a"
authors = ["Sergey Kvachonok <[email protected]>", "messense <[email protected]>"]
license = "MIT AND PSF-2.0"
keywords = ["build-dependencies", "python", "windows", "mingw"]
authors = ["Sergey Kvachonok <[email protected]>", "messense <[email protected]>", "Adam Reichold <[email protected]>"]
license = "MIT"
keywords = ["build-dependencies", "python", "windows", "mingw", "msvc"]
categories = ["development-tools::build-utils"]
readme = "README.md"

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Sergey Kvachonok, Adam Reichold
Copyright (c) 2022 Sergey Kvachonok, Adam Reichold, messense <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
Standalone `python3.dll` import library generator
=================================================
Standalone `python3(y).dll` import library generator
====================================================

Generates import libraries for the Stable ABI Python DLL
Generates import libraries for the Python DLL
(either `python3.dll` or `python3y.dll`)
for MinGW-w64 and MSVC (cross-)compile targets.

See <https://docs.python.org/3/c-api/stable.html> for details.
See <https://docs.python.org/3/c-api/stable.html> for the Stable ABI details.

This crate **does not require** Python 3 distribution files
to be present on the (cross-)compile host system.

**Note:** MSVC (cross-)compile targets require LLVM binutils
**Note:** MSVC cross-compile targets require LLVM binutils
to be available on the host system.
More specifically, `python3-dll-a` requires `llvm-dlltool` executable
to be present in `PATH` when targeting `*-pc-windows-msvc`.
to be present in `PATH` when targeting `*-pc-windows-msvc` from Linux.

PyO3 integration
----------------
Expand Down Expand Up @@ -79,7 +80,5 @@ This crate embeds Module-Defitions based on the `stable_abi.toml` file from CPyt

The upstream version of this file is located in the [CPython project][cpython]
repository under the path `Misc/stable_abi.toml`.
This file should be updated for every subsequent CPython release
(e.g. for CPython 3.12).

[cpython]: https://github.com/python/cpython/blob/main/Misc/stable_abi.toml
13 changes: 7 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
//! Standalone `python3.dll` import library generator
//! =================================================
//! Standalone `python3(y).dll` import library generator
//! ====================================================
//!
//! Generates import libraries for the Stable ABI Python DLL
//! Generates import libraries for the Python DLL
//! (either `python3.dll` or `python3y.dll`)
//! for MinGW-w64 and MSVC (cross-)compile targets.
//!
//! See <https://docs.python.org/3/c-api/stable.html> for details.
//! See <https://docs.python.org/3/c-api/stable.html> for the Stable ABI details.
//!
//! This crate **does not require** Python 3 distribution files
//! to be present on the (cross-)compile host system.
//!
//! **Note:** MSVC (cross-)compile targets require LLVM binutils
//! **Note:** MSVC cross-compile targets require LLVM binutils
//! to be available on the host system.
//! More specifically, `python3-dll-a` requires `llvm-dlltool` executable
//! to be present in `PATH` when targeting `*-pc-windows-msvc`.
//! to be present in `PATH` when targeting `*-pc-windows-msvc` from Linux.
//!
//! PyO3 integration
//! ----------------
Expand Down

0 comments on commit ac9a080

Please sign in to comment.