|
| 1 | +# Copyright (C) 2022 Artyom Vancyan |
| 2 | +# See full copyright notice at __init__.py |
| 3 | +import subprocess |
| 4 | + |
| 5 | +import setuptools |
| 6 | + |
| 7 | +version = ( |
| 8 | + subprocess.run(["git", "describe", "--tags"], stdout=subprocess.PIPE) |
| 9 | + .stdout.decode("utf-8") |
| 10 | + .strip() |
| 11 | +) |
| 12 | + |
| 13 | +assert "-" not in version |
| 14 | +assert "." in version |
| 15 | + |
| 16 | +# with open("README.md", "r", encoding="utf-8") as fp: |
| 17 | +# long_description = fp.read() |
| 18 | + |
| 19 | +setuptools.setup( |
| 20 | + name="fuzzymap", |
| 21 | + version=version, |
| 22 | + author="Artyom Vancyan", |
| 23 | + |
| 24 | + description="", |
| 25 | + # long_description=long_description, |
| 26 | + # long_description_content_type="text/markdown", |
| 27 | + url="https://github.com/pysnippet/fuzzymap", |
| 28 | + packages=setuptools.find_packages(), |
| 29 | + classifiers=[ |
| 30 | + "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", |
| 31 | + "Operating System :: OS Independent", |
| 32 | + 'Programming Language :: Python :: 3.6', |
| 33 | + 'Programming Language :: Python :: 3.7', |
| 34 | + 'Programming Language :: Python :: 3.8', |
| 35 | + 'Programming Language :: Python :: 3.9', |
| 36 | + 'Programming Language :: Python :: 3.10', |
| 37 | + 'Programming Language :: Python :: 3.11', |
| 38 | + 'Programming Language :: Python :: 3.12', |
| 39 | + 'Topic :: Software Development :: Libraries :: Python Modules', |
| 40 | + ], |
| 41 | + python_requires=">=3.6", |
| 42 | + install_requires=[ |
| 43 | + "fuzzywuzzy>=0.3.0", |
| 44 | + "python-Levenshtein>=0.12.1", |
| 45 | + ], |
| 46 | +) |
0 commit comments