Skip to content

Commit

Permalink
🚚 Rename python_wakatime to repl_python_wakatime
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Jan 14, 2023
1 parent e0812c1 commit b3c482d
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Supported REPLs:
[`$PYTHON_STARTUP`](https://docs.python.org/3/using/cmdline.html#envvar-PYTHONSTARTUP).

```python
from python_wakatime.python import install_hook
from repl_python_wakatime.python import install_hook

install_hook()
```
Expand All @@ -60,7 +60,7 @@ install_hook()

```python
from ptpython.repl import PythonRepl
from python_wakatime.ptpython import install_hook
from repl_python_wakatime.ptpython import install_hook


def configure(repl: PythonRepl) -> None:
Expand All @@ -74,7 +74,7 @@ def configure(repl: PythonRepl) -> None:
- configure file: `~/.ipython/profile_default/ipython_config.py`.

```python
from python_wakatime.iptpython import install_hook
from repl_python_wakatime.iptpython import install_hook

install_hook(c)
```
Expand Down
2 changes: 1 addition & 1 deletion docs/api/python_wakatime.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# python_wakatime
# repl_python_wakatime

````{eval-rst}
```{eval-sh}
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
https://www.sphinx-doc.org/en/master/usage/configuration.html
"""
from python_wakatime import __version__ as version # type: ignore
from python_wakatime._metainfo import ( # type: ignore
from repl_python_wakatime import __version__ as version # type: ignore
from repl_python_wakatime._metainfo import ( # type: ignore
author,
copyright,
project,
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ Download = "https://github.com/wakatime/repl-python-wakatime/releases"
Source = "https://github.com/wakatime/repl-python-wakatime"

[tool.setuptools.package-data]
python_wakatime = ["py.typed", "assets/*"]
repl_python_wakatime = ["py.typed", "assets/*"]

[tool.setuptools.dynamic.optional-dependencies]
dev = { file = "requirements/dev.txt" }

[tool.setuptools_scm]
write_to = "src/python_wakatime/_version.py"
write_to = "src/repl_python_wakatime/_version.py"

[tool.setuptools-generate]
write-to = "src/python_wakatime/_metainfo.py"
write-to = "src/repl_python_wakatime/_metainfo.py"

[tool.black]
line-length = 79
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.
2 changes: 1 addition & 1 deletion tests/__init___test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import os
from pathlib import Path

from python_wakatime.utils import get_project
from repl_python_wakatime.utils import get_project


class Test:
Expand Down

0 comments on commit b3c482d

Please sign in to comment.