-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken 0.1.1 wheels and LICENSE (#14)
Seems like we had duplicate licenses from pypa/setuptools#2739 (resolved by changing Cargo.TOML to refer to Apache 2.0 license directly) and issues with the underlying sequence_align._sequence_align import from Maturin updating. Fixed both here and will republish new versions of wheels as the current 0.1.1 ones are DOA. Co-authored-by: Andrew (Drew) Titus <[email protected]>
- Loading branch information
1 parent
5e62dde
commit ca6a4ba
Showing
3 changed files
with
13 additions
and
10 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 |
---|---|---|
|
@@ -80,6 +80,9 @@ docs/_build/ | |
# mypy | ||
.mypy_cache/ | ||
|
||
# Wheels directory for upload to PyPI | ||
wheels/ | ||
|
||
|
||
# RUST | ||
|
||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[build-system] | ||
requires = ["maturin>=0.14,<0.15"] | ||
requires = ["maturin>=1.0,<2.0"] | ||
build-backend = "maturin" | ||
|
||
[project] | ||
|
@@ -14,8 +14,9 @@ authors = [ | |
maintainers = [ | ||
{name = "Kensho Technologies LLC.", email = "[email protected]"}, | ||
] | ||
# Apache 2.0 | ||
license-file = "LICENSE" | ||
license-files.paths = [ | ||
"LICENSE", # Apache 2.0 | ||
] | ||
classifiers = [ | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3.7", | ||
|
@@ -55,6 +56,9 @@ dev = [ | |
line-length = 100 | ||
|
||
[tool.maturin] | ||
# See https://www.maturin.rs/project_layout.html#import-rust-as-a-submodule-of-your-project | ||
# Allows "from sequence_align import _sequence_align" import | ||
module-name = "sequence_align._sequence_align" | ||
# "extension-module" tells pyo3 we want to build an extension module (skips linking against libpython.so) | ||
features = ["pyo3/extension-module"] | ||
|
||
|
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