Skip to content

Commit

Permalink
chore: rename CAT to cat-python for pypi to play nice
Browse files Browse the repository at this point in the history
  • Loading branch information
matq007 committed Sep 17, 2024
1 parent 55393f1 commit c9307a6
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 45 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ and this project adheres to [Semantic Versioning][].

### Fixed

- Error in saving XlsxWriter [#2](https://github.com/brickmanlab/CAT/issues/2)
- Error in saving XlsxWriter [#2](https://github.com/brickmanlab/cat-python/issues/2)

## [v1.0]

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $ pip install cat-python
## Installation from source

```console
$ pip install git+https://github.com/brickmanlab/CAT.git@main
$ pip install git+https://github.com/brickmanlab/cat-python.git@master
```

## Running CAT
Expand Down Expand Up @@ -64,6 +64,6 @@ Please consider citing scANVI Explainer if you use in your research.
[pypi-link]: https://pypi.org/project/cat-python
[docs-badge]: https://readthedocs.org/projects/brickmanlabcat/badge/?version=latest
[docs-link]: https://brickmanlabcat.readthedocs.io/en/latest/
[build-badge]: https://github.com/brickmanlab/CAT/actions/workflows/build.yml/badge.svg
[build-link]: https://github.com/brickmanlab/CAT/actions/workflows/build.yml
[build-badge]: https://github.com/brickmanlab/cat-python/actions/workflows/build.yml/badge.svg
[build-link]: https://github.com/brickmanlab/cat-python/actions/workflows/build.yml
[10.1038/s41556-022-00923-x]: https://doi.org/10.1038/s41556-022-00923-x
11 changes: 7 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ build-backend = "hatchling.build"
requires = ["hatchling"]

[project]
name = "CAT"
name = "cat-python"
version = "1.1.0"
description = "Cluster Alignment Tool (CAT)"
readme = "README.md"
Expand Down Expand Up @@ -49,9 +49,12 @@ doc = [
]

[project.urls]
Documentation = "https://CAT.readthedocs.io/"
Source = "https://github.com/brickmanlab/CAT"
Homepage = "https://github.com/brickmanlab/CAT"
Documentation = "https://brickmanlabcat.readthedocs.io/"
Source = "https://github.com/brickmanlab/cat-python"
Homepage = "https://github.com/brickmanlab/cat-python"

[tool.ruff]
lint.ignore = ["E731"]

[tool.hatch.build.targets.wheel]
packages = ["src/cat"]
2 changes: 1 addition & 1 deletion src/cat/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def parse_args() -> argparse.Namespace:
parser.add_argument(
"--version",
action="version",
version=f"CAT v{__version__}",
version=f"cat-python v{__version__}",
)

return parser.parse_args(args=None if sys.argv[1:] else ["--help"])
Expand Down
2 changes: 1 addition & 1 deletion src/cat/constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from importlib.metadata import version

__version__ = version("CAT")
__version__ = version("cat-python")
SIGMA = 1.6
MIN_N_GENES = 20
CLUSTER_FIELD = "cat_cluster"
Expand Down
70 changes: 35 additions & 35 deletions uv.lock

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

0 comments on commit c9307a6

Please sign in to comment.