Skip to content

Commit 9b25445

Browse files
committed
Update README for pypi name: varname
1 parent 292f9e7 commit 9b25445

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Dark magics about variable names in python
88

99
## Installation
1010
```shell
11-
pip install python-varname
11+
pip install python-varname # will be deprecated after 0.4.0
12+
pip install varname # use this instead
1213
```
1314

1415
## Features

README.rst

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ Installation
4444

4545
.. code-block:: shell
4646
47-
pip install python-varname
47+
pip install python-varname # will be deprecated after 0.4.0
48+
pip install varname # use this instead
4849
4950
Features
5051
--------
@@ -317,12 +318,4 @@ For example:
317318
assert name_a == 'a'
318319
319320
*
320-
This will also typically fail with ``ipython``\ :
321-
322-
.. code-block:: python
323-
324-
a = 1
325-
for _ in [0]:
326-
print(nameof(a))
327-
328-
* ``R`` with ``reticulate``.
321+
``R`` with ``reticulate``.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [ "poetry>=0.12",]
33
build-backend = "poetry.masonry.api"
44

55
[tool.poetry]
6-
name = "python-varname"
6+
name = "varname"
77
version = "0.4.0"
88
description = "Retrieving variable names of function or class calls."
99
authors = [ "pwwang <pwwang@pwwang.com>",]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
setup(
2222
long_description=readme,
23-
name='python-varname',
23+
name='varname',
2424
version='0.4.0',
2525
description='Retrieving variable names of function or class calls.',
2626
python_requires='==3.*,>=3.6.0',

0 commit comments

Comments
 (0)