Skip to content

Commit

Permalink
Merge pull request #562 from messense/pkginfo
Browse files Browse the repository at this point in the history
Replace `read_distribution` mod with `python-pkginfo` crate
  • Loading branch information
messense authored Jun 10, 2021
2 parents a56d838 + 8f33c22 commit 4dc7b6d
Show file tree
Hide file tree
Showing 9 changed files with 123 additions and 441 deletions.
134 changes: 50 additions & 84 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ zip = "0.5.5"
thiserror = "1.0.24"
dirs = { version = "3.0.1", optional = true }
configparser = { version = "2.0.0", optional = true }
mailparse = "0.13.2"
fs-err = "2.5.0"
fat-macho = "0.4.3"
toml_edit = "0.2.0"
once_cell = "1.7.2"
scroll = "0.10.2"
target-lexicon = "0.12.0"
pyproject-toml = "0.1.0"
python-pkginfo = "0.4.0"

[dev-dependencies]
indoc = "1.0.3"
Expand Down
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ pub use crate::module_writer::{
};
pub use crate::pyproject_toml::PyProjectToml;
pub use crate::python_interpreter::PythonInterpreter;
pub use crate::read_distribution::{
get_metadata_for_distribution, get_supported_version_for_distribution,
};
pub use crate::target::Target;
pub use auditwheel::PlatformTag;
pub use source_distribution::source_distribution;
Expand All @@ -61,7 +58,6 @@ mod metadata;
mod module_writer;
mod pyproject_toml;
mod python_interpreter;
mod read_distribution;
#[cfg(feature = "upload")]
mod registry;
mod source_distribution;
Expand Down
Loading

0 comments on commit 4dc7b6d

Please sign in to comment.