Skip to content

Commit

Permalink
Replace read_distribution mod with python-pkginfo crate
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Jun 8, 2021
1 parent af33981 commit 21c97c8
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 429 deletions.
115 changes: 41 additions & 74 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ 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 21c97c8

Please sign in to comment.