1
0

--user flag added in Makefile. Added a pyproject.toml file. setup.cfg fixed.

This commit is contained in:
Alexander Andreev 2020-06-05 03:50:21 +04:00
parent da1ed3c436
commit df78739a36
3 changed files with 25 additions and 13 deletions

View File

@ -1,7 +1,7 @@
build: piggybank build: piggybank setup.cfg README.md
python setup.py sdist bdist_wheel python setup.py sdist bdist_wheel
install: 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: uninstall:
python -m pip uninstall piggybank python -m pip uninstall piggybank
clean: clean:

3
pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

View File

@ -1,43 +1,52 @@
[metadata] [metadata]
name = piggybank name = piggybank
version = attr: piggybank.__version__ version = attr: piggybank.__version__
description = description = Keep track of your piggy bank
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.
long_description = file: README.md 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 = attr: piggybank.__author__
author_email = attr: piggybank.__email__ author_email = attr: piggybank.__email__
url = https://arav.top url = https://arav.top
keywords = keywords =
coin box
coins coins
piggy bank piggy bank
coin box
savings savings
license = WTFPL 2.0 license = WTFPL 2.0
license_file = COPYING license_file = COPYING
platforms=OS Independent platforms = any
classifiers = classifiers =
Development Status :: 5 - Production/Stable Development Status :: 5 - Production/Stable
Environment :: Console Environment :: Console
Operating System :: OS Independent Intended Audience :: End Users/Desktop
License :: Other/Proprietary License License :: Public Domain
Natural Language :: English 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.6
Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Office/Business :: Financial :: Accounting Topic :: Office/Business :: Financial :: Accounting
[options] [options]
zip_safe = False
python_requires = >=3.6
include_package_data = True include_package_data = True
setup_requires =
setuptools
packages = find: packages = find:
python_requires = >=3.6
zip_safe = False
[options.package_data] [options.package_data]
* = COPYING, README.md * = COPYING, README.md
[sdist]
formats = gztar
[options.entry_points] [options.entry_points]
console_scripts = console_scripts =
piggybank-put = piggybank.cli.put:main piggybank-put = piggybank.cli.put:main
piggybank-take = piggybank.cli.take:main
piggybank-show = piggybank.cli.show:main piggybank-show = piggybank.cli.show:main
piggybank-take = piggybank.cli.take:main