rust-pip icon indicating copy to clipboard operation
rust-pip copied to clipboard

[`#25`] Added PyVer Crate

Open Allstreamer opened this issue 3 years ago • 5 comments
trafficstars

Add PyVer crate to project

Based on:

image PEP-440 Docs

Example Usage

use pyver::PackageVersion;


let one = PackageVersion::new("v1.0");
let two = PackageVersion::new("2.0");

assert_eq!(true, two > one)

Commits

  • Moved changes from #20 to 25-add-python-version-parsing-pep-440 branch

Allstreamer avatar Aug 15 '22 20:08 Allstreamer

So how are we looking on merging this?

Allstreamer avatar Aug 23 '22 12:08 Allstreamer

So how are we looking on merging this?

I want us to finish the project/CI setup first. So just leave it for now, its not gonna run away :) And focus on other CI/Project related issues

John15321 avatar Aug 23 '22 12:08 John15321

@Allstreamer looks like your package is doing well. Can you change this code to simply use pyver?

John15321 avatar Sep 13 '22 22:09 John15321

Will do gimme 30-40 min

Allstreamer avatar Sep 14 '22 05:09 Allstreamer

Should be good to go! @John15321

Allstreamer avatar Sep 14 '22 08:09 Allstreamer