diff --git a/setup.py b/setup.py index 85a6a88..22abc53 100644 --- a/setup.py +++ b/setup.py @@ -1,26 +1,42 @@ from setuptools import setup, find_packages -import pathlib +from pathlib import Path -here = pathlib.Path(__file__).parent.resolve() +# Get the directory containing this file +here = Path(__file__).parent.resolve() +# Load the README for long description long_description = (here / "README.md").read_text(encoding="utf-8") setup( name="rememberer", version="0.1.5", - license="MIT", - description="Rememberer is a tool to help your functions remember their previous results.", + description="A lightweight tool to help functions remember their previous results using pickle caching.", long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/ChamRun/rememberer", author="ChamRun", author_email="chrm@aut.ac.ir", - keywords="pickle, cache", - packages=find_packages('src'), + license="MIT", + keywords=["pickle", "cache", "memoization", "function caching"], + packages=find_packages(where="src"), package_dir={"": "src"}, python_requires=">=3.5", - install_requires=["pickle5"], + install_requires=[ + "pickle5; python_version<'3.8'" + ], project_urls={ - "Organization": "https://chamrun.github.io/", + "Homepage": "https://chamrun.github.io/", + "Source": "https://github.com/ChamRun/rememberer", }, + classifiers=[ + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Topic :: Software Development :: Libraries :: Python Modules", + ], )