Skip to content

Commit

Permalink
restructure licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
ion-elgreco committed Nov 20, 2023
1 parent ff53a07 commit 06931fa
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/deltalake/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
DataType = Union["PrimitiveType", "MapType", "StructType", "ArrayType"]


### Inspired from Pola-rs repo - licensed with MIT License, see licenses folder.###
### Inspired from Pola-rs repo - licensed with MIT License, see license in python/licenses/polars_license.txt.###
def _convert_pa_schema_to_delta(
schema: pa.schema, large_dtypes: bool = False
) -> pa.schema:
Expand Down
8 changes: 8 additions & 0 deletions python/licenses/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Licenses
Below are described which licenses apply to the deltalake package and to which areas of the source code.

### deltalake_license.txt (APACHE 2.0 License)
Applies to the full deltalake package source code.

### polars_license.txt (MIT License)
Applies solely to the `_convert_pa_schema_to_delta` function in `deltalake/schema.py`.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "maturin"
name = "deltalake"
description = "Native Delta Lake Python binding based on delta-rs with Pandas integration"
readme = "README.md"
license = {file = "LICENSE.txt"}
license = {file = "licenses/deltalake_license.txt"}
requires-python = ">=3.8"
keywords = ["deltalake", "delta", "datalake", "pandas", "arrow"]
classifiers = [
Expand Down

0 comments on commit 06931fa

Please sign in to comment.