diff options
| author | Val Neekman (AvidCoder) <un33kvu@gmail.com> | 2022-02-16 16:11:08 -0500 |
|---|---|---|
| committer | Val Neekman (AvidCoder) <un33kvu@gmail.com> | 2022-02-16 16:11:08 -0500 |
| commit | ad33581c491fd16cd64930fe02c862c04595550b (patch) | |
| tree | f73629c4901dfcffdd4ab7b5df6e3b57384a3059 /setup.py | |
| parent | 9b9b68f512edecf209d9af977d2080194ff55d88 (diff) | |
| download | python-slugify-ad33581c491fd16cd64930fe02c862c04595550b.tar.gz | |
version file, github action
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ def get_version(package): """ Return package version as listed in `__version__` in `init.py`. """ - init_py = codecs.open(os.path.join(package, '__init__.py'), encoding='utf-8').read() + init_py = codecs.open(os.path.join(package, '__version__.py'), encoding='utf-8').read() return re.search("^__version__ = ['\"]([^'\"]+)['\"]", init_py, re.MULTILINE).group(1) |
