Skip to content

Commit

Permalink
Switch to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
kedder committed Jan 17, 2024
1 parent ba2b501 commit 2b51fc4
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 38 deletions.
36 changes: 36 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,38 @@
[metadata]
name = ofxstatement-sample
version = 0.0.1
description = Sample plugin for ofxstatement
long_description = file: README.rst
long_description_content_type = text/x-rst
url = https://github.com/kedder/ofxstatement-sample
author = Andrey Lebedev
author_email = andrey@lebedev.lt
classifiers =
Development Status :: 3 - Alpha
Programming Language :: Python :: 3
Natural Language :: English
Topic :: Office/Business :: Financial :: Accounting
Topic :: Utilities
Environment :: Console
Operating System :: OS Independent
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
keywords = ofx banking statement
project_urls =

[options]
package_dir = =src
packages = find:
python_requires = >=3.9, <4
install_requires =
ofxstatement
data_files =

[options.packages.find]
where = src

[options.entry_points]
ofxstatement =
sample = ofxstatement_sample.plugin:SamplePlugin

[mypy]
namespace_packages=True
39 changes: 1 addition & 38 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,40 +1,3 @@
#!/usr/bin/python3
"""Setup
"""
from setuptools import find_packages
from distutils.core import setup

version = "0.0.1"

with open("README.rst") as f:
long_description = f.read()

setup(
name="ofxstatement-sample",
version=version,
author="Andrey Lebedev",
author_email="andrey@lebedev.lt",
url="https://github.com/kedder/ofxstatement",
description=("Sample plugin for ofxstatement"),
long_description=long_description,
license="GPLv3",
keywords=["ofx", "banking", "statement"],
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Natural Language :: English",
"Topic :: Office/Business :: Financial :: Accounting",
"Topic :: Utilities",
"Environment :: Console",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
],
packages=find_packages("src"),
package_dir={"": "src"},
entry_points={
"ofxstatement": ["sample = ofxstatement_sample.plugin:SamplePlugin"]
},
install_requires=["ofxstatement"],
include_package_data=True,
zip_safe=True,
)
setup()

0 comments on commit 2b51fc4

Please sign in to comment.