From 6fca62581f0afcebd8890fe34e063de89616c9de Mon Sep 17 00:00:00 2001 From: Akihiro Nitta Date: Mon, 2 Dec 2024 16:10:57 -0800 Subject: [PATCH] Consistent PyPI name `pytorch-frame` (#468) This PR makes a cosmetic change and makes no change that affects users. `-` and `_` mean the same thing at pypi.org/project/pytorch-frame as per https://packaging.python.org/en/latest/specifications/name-normalization/#name-normalization. --- .github/CONTRIBUTING.md | 2 +- README.md | 2 +- docs/source/get_started/installation.rst | 4 ++-- pyproject.toml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 03dfc064b..5bfe107dd 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -26,7 +26,7 @@ To develop PyTorch Frame on your machine, here are some tips: It is advised to run this command repeatedly to confirm that installations across all locations are properly removed. ```bash - pip uninstall pytorch_frame + pip uninstall pytorch-frame ``` 1. Fork and clone the PyTorch Frame repository: diff --git a/README.md b/README.md index 7338e14a9..e54879db6 100644 --- a/README.md +++ b/README.md @@ -248,7 +248,7 @@ The benchmark script for Hugging Face text encoders is in this [file](https://gi PyTorch Frame is available for Python 3.9 to Python 3.11. ``` -pip install pytorch_frame +pip install pytorch-frame ``` See [the installation guide](https://pytorch-frame.readthedocs.io/en/latest/get_started/installation.html) for other options. diff --git a/docs/source/get_started/installation.rst b/docs/source/get_started/installation.rst index ac410dffa..045f89f96 100644 --- a/docs/source/get_started/installation.rst +++ b/docs/source/get_started/installation.rst @@ -8,10 +8,10 @@ Installation via PyPI .. code-block:: none - pip install pytorch_frame + pip install pytorch-frame # Install with optional dependencies - pip install pytorch_frame[full] + pip install pytorch-frame[full] Installation from master diff --git a/pyproject.toml b/pyproject.toml index afb0aab35..6d3843467 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires=["flit_core >=3.2,<4"] build-backend="flit_core.buildapi" [project] -name="pytorch_frame" +name="pytorch-frame" version="0.2.3" authors=[ {name="PyG Team", email="team@pyg.org"}, @@ -42,7 +42,7 @@ test=[ "mypy", ] dev=[ - "pytorch_frame[test]", + "pytorch-frame[test]", "pre-commit", ] full=[