Skip to content

Commit 842a964

Browse files
committed
0.5.1
1 parent f1c48fd commit 842a964

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

README.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66

77

88
`
9-
.. image:: https://img.shields.io/pypi/v/python-varname?style=flat-square
10-
:target: https://img.shields.io/pypi/v/python-varname?style=flat-square
9+
.. image:: https://img.shields.io/pypi/v/varname?style=flat-square
10+
:target: https://img.shields.io/pypi/v/varname?style=flat-square
1111
:alt: Pypi
12-
<https://pypi.org/project/python-varname/>`_ `
12+
<https://pypi.org/project/varname/>`_ `
1313
.. image:: https://img.shields.io/github/tag/pwwang/python-varname?style=flat-square
1414
:target: https://img.shields.io/github/tag/pwwang/python-varname?style=flat-square
1515
:alt: Github
1616
<https://github.com/pwwang/python-varname>`_ `
1717
.. image:: https://img.shields.io/pypi/pyversions/python-varname?style=flat-square
1818
:target: https://img.shields.io/pypi/pyversions/python-varname?style=flat-square
1919
:alt: PythonVers
20-
<https://pypi.org/project/python-varname/>`_
20+
<https://pypi.org/project/varname/>`_
2121
.. image:: https://img.shields.io/github/workflow/status/pwwang/python-varname/Build%20and%20Deploy?style=flat-square
2222
:target: https://img.shields.io/github/workflow/status/pwwang/python-varname/Build%20and%20Deploy?style=flat-square
2323
:alt: Building
@@ -50,8 +50,7 @@ Installation
5050

5151
.. code-block:: shell
5252
53-
pip install python-varname # will be deprecated after 0.4.0
54-
pip install varname # use this instead
53+
pip install varname
5554
5655
Features
5756
--------
@@ -90,6 +89,8 @@ Thanks goes to these awesome people/projects:
9089
</table>
9190

9291

92+
Special thanks to `@HanyuuLu <https://github.com/HanyuuLu>`_ to give up the name ``varname`` in pypi for this project.
93+
9394
Usage
9495
-----
9596

docs/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,6 @@
4242
- Allow `nameof` to retrieve full name of chained attribute calls
4343
- Add `__all__` to the module so that only desired APIs are exposed when `from varname import *`
4444
- Give more hints on `nameof` being called in a weird way when no soucecode available.
45+
46+
## v0.5.1
47+
- Add better messaging for weird nameof calls

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api"
44

55
[tool.poetry]
66
name = "varname"
7-
version = "0.5.0"
7+
version = "0.5.1"
88
description = "Retrieving variable names of function or class calls."
99
authors = [ "pwwang <pwwang@pwwang.com>",]
1010
license = "MIT"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
setup(
2222
long_description=readme,
2323
name='varname',
24-
version='0.5.0',
24+
version='0.5.1',
2525
description='Retrieving variable names of function or class calls.',
2626
python_requires='==3.*,>=3.6.0',
2727
project_urls={

varname.py

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

1111
import executing
1212

13-
__version__ = "0.5.0"
13+
__version__ = "0.5.1"
1414
__all__ = [
1515
"VarnameRetrievingError", "varname", "will",
1616
"inject", "nameof", "namedtuple", "Wrapper"

0 commit comments

Comments
 (0)