From c4fe7ae144127ef715bb6b33d20cfd91aacef412 Mon Sep 17 00:00:00 2001 From: Rupus Reinefjord Date: Wed, 19 May 2021 22:23:51 +0200 Subject: [PATCH] Migrate to pyproject.toml/setup.cfg, v0.2.0 --- pyproject.toml | 3 +++ setup.cfg | 23 +++++++++++++++++++++++ setup.py | 30 ------------------------------ 3 files changed, 26 insertions(+), 30 deletions(-) create mode 100644 pyproject.toml create mode 100644 setup.cfg delete mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9787c3b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..c0dc9c0 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,23 @@ +[metadata] +name = pass2csv +version = 0.2.0 +author = Rupus Reinefjord +author_email = rupus@reinefjord.net +description = Export pass(1), "the standard unix password manager" to CSV +long_description = file: README.md +long_description_content_type = text/markdown +url = https://github.com/reinefjord/pass2csv +classifiers = + Development Status :: 4 - Beta + Environment :: Console + Intended Audience :: End Users/Desktop + License :: OSI Approved :: MIT License + Programming Language :: Python + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.6 + Topic :: Utilities + +[options] +scripts = pass2csv +python_requires = >= 3.6 +install_requires = python-gnupg diff --git a/setup.py b/setup.py deleted file mode 100644 index 1aa069b..0000000 --- a/setup.py +++ /dev/null @@ -1,30 +0,0 @@ -import setuptools - -with open("README.md", "r") as fh: - long_description = fh.read() - -setuptools.setup( - name="pass2csv", - version="0.1.3", - author="Rupus Reinefjord", - author_email="rupus@reinefjord.net", - description='Export pass(1), "the standard unix password manager", to CSV', - long_description=long_description, - long_description_content_type="text/markdown", - install_requires=["python-gnupg"], - scripts=["pass2csv"], - url="https://github.com/reinefjord/pass2csv", - classifiers=[ - "Development Status :: 4 - Beta", - "License :: OSI Approved :: MIT License", - "Programming Language :: Python", - "Environment :: Console", - "Intended Audience :: End Users/Desktop", - "Topic :: Utilities", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8" - ], - python_requires='>=3.6' -)