diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..4396ff5 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,36 @@ +[metadata] +name = fava-plugins +version = 1.0 +author = Jakob Schnitzer +author_email = mail@jakobschnitzer.de +license = MIT +description = A collection of Beancount plugins. +keywords = fava, beancount, accounting +url = https://github.com/beancount/fava-plugins +long_description = file: README.md +classifiers = + Development Status :: 5 - Production/Stable + Intended Audience :: Education + Intended Audience :: End Users/Desktop + Intended Audience :: Financial and Insurance Industry + Intended Audience :: Information Technology + License :: OSI Approved :: MIT License + Natural Language :: English + Programming Language :: JavaScript + Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3 :: Only + Topic :: Internet :: WWW/HTTP :: Dynamic Content + Topic :: Office/Business :: Financial :: Accounting + Topic :: Office/Business :: Financial :: Investment + +[options] +packages = find: +zip_safe = False +install_requires = beancount>=2.0 +include_package_data = True + +[options.packages.find] +exclude = tests diff --git a/setup.py b/setup.py deleted file mode 100644 index aaaee9b..0000000 --- a/setup.py +++ /dev/null @@ -1,43 +0,0 @@ -from os import path - -from setuptools import find_packages -from setuptools import setup - - -with open(path.join(path.dirname(__file__), "README.md")) as readme: - LONG_DESCRIPTION = readme.read() - - -setup( - name="fava-plugins", - version="1.0", - description="A collection of Beancount plugins.", - long_description=LONG_DESCRIPTION, - url="https://github.com/beancount/fava-plugins", - author="Jakob Schnitzer", - author_email="mail@jakobschnitzer.de", - license="MIT", - keywords="fava beancount accounting", - packages=find_packages(exclude=["tests"]), - include_package_data=True, - install_requires=[ - "beancount>=2.0rc1", - ], - zip_safe=False, - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Education", - "Intended Audience :: End Users/Desktop", - "Intended Audience :: Financial and Insurance Industry", - "Intended Audience :: Information Technology", - "License :: OSI Approved :: MIT License", - "Natural Language :: English", - "Programming Language :: JavaScript", - "Programming Language :: Python :: 3.5", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3 :: Only", - "Topic :: Internet :: WWW/HTTP :: Dynamic Content", - "Topic :: Office/Business :: Financial :: Accounting", - "Topic :: Office/Business :: Financial :: Investment", - ], -) diff --git a/tox.ini b/tox.ini index 1d72334..6b69a0d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,6 @@ [tox] -envlist = lint, py +envlist = lint,py +isolated_build = True [testenv] deps =