Skip to content

Commit

Permalink
Rename puffin-cli crate to puffin
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Jan 18, 2024
1 parent 6cad0f6 commit 259c0d1
Show file tree
Hide file tree
Showing 31 changed files with 59 additions and 63 deletions.
100 changes: 50 additions & 50 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions crates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ Functionality for detecting the current platform (operating system, architecture

Functionality for parsing and inferring Python platform tags as per [PEP 425](https://peps.python.org/pep-0425/).

## [puffin](./puffin)

Command-line interface for the Puffin package manager.

## [puffin-build](./puffin-build)

A [PEP 517](https://www.python.org/dev/peps/pep-0517/)-compatible build frontend for Puffin.
Expand All @@ -55,10 +59,6 @@ A [PEP 517](https://www.python.org/dev/peps/pep-0517/)-compatible build frontend

Functionality for caching Python packages and associated metadata.

## [puffin-cli](./puffin-cli)

Command-line interface for the Puffin package manager.

## [puffin-client](./puffin-client)

Client for interacting with PyPI-compatible HTTP APIs.
Expand Down
2 changes: 1 addition & 1 deletion crates/puffin-traits/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use puffin_interpreter::{Interpreter, Virtualenv};
///
/// ```text
/// ┌────────────────┐
/// │puffin-cli
/// │puffin
/// └───────▲────────┘
/// │
/// │
Expand Down
6 changes: 1 addition & 5 deletions crates/puffin-cli/Cargo.toml → crates/puffin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "puffin-cli"
name = "puffin"
version = "0.0.1"
edition = { workspace = true }
rust-version = { workspace = true }
Expand All @@ -13,10 +13,6 @@ default-run = "puffin"
[lints]
workspace = true

[[bin]]
name = "puffin"
path = "src/main.rs"

[dependencies]
distribution-filename = { path = "../distribution-filename" }
distribution-types = { path = "../distribution-types" }
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Changelog = "https://pypi.org/project/puffin-alpha/"

[tool.maturin]
bindings = "bin"
manifest-path = "crates/puffin-cli/Cargo.toml"
manifest-path = "crates/puffin/Cargo.toml"
module-name = "puffin"
python-source = "python"
strip = true
Expand Down
2 changes: 1 addition & 1 deletion scripts/benchmarks/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ set -euxo pipefail
TARGET=${1}

hyperfine --runs 20 --warmup 3 --prepare "rm -rf .venv && virtualenv .venv && source activate .venv/bin/activate && pip install ${TARGET}" \
"./target/release/puffin-cli uninstall ${TARGET}" \
"./target/release/puffin uninstall ${TARGET}" \
"pip uninstall -y ${TARGET}"
2 changes: 1 addition & 1 deletion scripts/scenarios/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
PACKSE = TOOL_ROOT / "packse-scenarios"
REQUIREMENTS = TOOL_ROOT / "requirements.txt"
PROJECT_ROOT = TOOL_ROOT.parent.parent
TARGET = PROJECT_ROOT / "crates" / "puffin-cli" / "tests" / "pip_install_scenarios.rs"
TARGET = PROJECT_ROOT / "crates" / "puffin" / "tests" / "pip_install_scenarios.rs"

try:
import packse
Expand Down

0 comments on commit 259c0d1

Please sign in to comment.