diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..58b62cd --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +__pycache__ +build +carafe.egg-info diff --git a/LICENSE b/LICENSE index d6b061e..e870015 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018-2021 Jelmer van Arnhem +Copyright (c) 2018-2023 Jelmer van Arnhem Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 8a4aaa9..b84696d 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ All of them are listed in the output as shown here: ``` usage: carafe {,list} -Welcome to carafe 1.3.0 +Welcome to carafe 1.4.0 carafe is a tiny management tool for wine bottles/carafes. optional arguments: diff --git a/carafe.py b/carafe.py index 69811d7..9f07876 100644 --- a/carafe.py +++ b/carafe.py @@ -6,7 +6,7 @@ # See README.md for more details and usage instructions __license__ = "MIT" # See LICENSE for more details and exact terms -__version__ = "1.3.0" +__version__ = "1.4.0" # See https://github.com/jelmerro/carafe for repo and updates import argparse diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..f35b65e --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,11 @@ +[project] +name="carafe" +version="1.4.0" +authors=[{name="Jelmer van Arnhem"}] +description="carafe is a tiny management tool for wine bottles/carafes" +license={text="MIT"} +requires-python=">=3.5" +[tool.setuptools] +include-package-data=true +[project.scripts] +carafe="carafe:main" diff --git a/setup.py b/setup.py deleted file mode 100644 index a242359..0000000 --- a/setup.py +++ /dev/null @@ -1,14 +0,0 @@ -from setuptools import setup - -setup( - name="carafe", - version="1.3.0", - author="Jelmer van Arnhem", - description="carafe is a tiny management tool for wine bottles/carafes", - license="MIT", - py_modules=["carafe"], - include_package_data=True, - python_requires=">= 3.5.*", - setup_requires=["setuptools"], - entry_points={"console_scripts": ["carafe= carafe:main"]} -)