Skip to content

Improve and Modernize setup.py for Rememberer Package #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 24 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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="[email protected]",
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",
],
)