|
18 | 18 |
|
19 | 19 | import pathlib |
20 | 20 |
|
| 21 | +from typing import Final |
21 | 22 | from setuptools import find_packages |
22 | 23 | from setuptools import setup |
23 | 24 |
|
24 | | -import pottery |
25 | | - |
26 | 25 |
|
27 | 26 | _package_dir = pathlib.Path(__file__).parent |
28 | 27 | _long_description = (_package_dir / 'README.md').read_text() |
29 | 28 |
|
30 | 29 |
|
| 30 | +__title__: Final[str] = 'pottery' |
| 31 | +__version__: Final[str] = '3.0.1rc1' |
| 32 | +__description__: Final[str] = 'Redis for Humans.' |
| 33 | +__url__: Final[str] = 'https://github.com/brainix/pottery' |
| 34 | +__author__: Final[str] = 'Rajiv Bakulesh Shah' |
| 35 | +__author_email__: Final[str] = 'brainix@gmail.com' |
| 36 | +__license__: Final[str] = 'Apache 2.0' |
| 37 | +__keywords__: Final[str] = 'Redis client persistent storage' |
| 38 | +__copyright__: Final[str] = f'Copyright © 2015-2022, {__author__}, original author.' |
| 39 | + |
31 | 40 | setup( |
32 | | - name=pottery.__name__, |
33 | | - version=pottery.__version__, |
34 | | - description=pottery.__description__, |
| 41 | + name=__title__, |
| 42 | + version=__version__, |
| 43 | + description=__description__, |
35 | 44 | long_description=_long_description, |
36 | 45 | long_description_content_type='text/markdown', |
37 | | - url=pottery.__url__, |
38 | | - author=pottery.__author__, |
39 | | - author_email=pottery.__author_email__, |
40 | | - license=pottery.__license__, |
| 46 | + url=__url__, |
| 47 | + author= "Rajiv Bakulesh Shah", |
| 48 | + author_email=__author_email__, |
| 49 | + license=__license__, |
41 | 50 | classifiers=[ |
42 | 51 | 'License :: OSI Approved :: Apache Software License', |
43 | 52 | 'Intended Audience :: Developers', |
|
55 | 64 | 'Framework :: AsyncIO', |
56 | 65 | 'Typing :: Typed', |
57 | 66 | ], |
58 | | - keywords=pottery.__keywords__, |
| 67 | + keywords=__keywords__, |
59 | 68 | python_requires='>=3.9, <4', |
60 | 69 | install_requires=('redis>=4.2.0rc1', 'mmh3', 'typing_extensions'), |
61 | 70 | extras_require={}, |
|
0 commit comments