diff --git a/Makefile b/Makefile index d0bd8e6..36f26b5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -build: piggybank +build: piggybank setup.cfg README.md python setup.py sdist bdist_wheel install: - python -m pip install --upgrade dist/piggybank-1.0.0-py3-none-any.whl + python -m pip install --upgrade dist/piggybank-1.0.0-py3-none-any.whl --user uninstall: python -m pip uninstall piggybank clean: diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..07de284 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index a845ef3..51860fd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,43 +1,52 @@ [metadata] name = piggybank version = attr: piggybank.__version__ -description = - Keep track of your piggy bank by writting down quantity of coins you put, - not just sums. So you know how much coins you have in there. +description = Keep track of your piggy bank long_description = file: README.md -long_description_content_type = text/markdown +long_description_content_type = text/markdown; charset=UTF-8 author = attr: piggybank.__author__ author_email = attr: piggybank.__email__ url = https://arav.top keywords = + coin box coins piggy bank - coin box savings license = WTFPL 2.0 license_file = COPYING -platforms=OS Independent +platforms = any classifiers = Development Status :: 5 - Production/Stable Environment :: Console - Operating System :: OS Independent - License :: Other/Proprietary License + Intended Audience :: End Users/Desktop + License :: Public Domain Natural Language :: English + Operating System :: OS Independent + Programming Language :: Python + Programming Language :: Python :: 3 + Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 Topic :: Office/Business :: Financial :: Accounting [options] -zip_safe = False -python_requires = >=3.6 include_package_data = True +setup_requires = + setuptools packages = find: +python_requires = >=3.6 +zip_safe = False [options.package_data] * = COPYING, README.md +[sdist] +formats = gztar + [options.entry_points] console_scripts = piggybank-put = piggybank.cli.put:main - piggybank-take = piggybank.cli.take:main piggybank-show = piggybank.cli.show:main + piggybank-take = piggybank.cli.take:main