Prepare for release and upload to PyPI

This commit is contained in:
Rupus Reinefjord 2020-06-08 08:16:58 +02:00
parent 1cf57cb367
commit 72c4a69487
4 changed files with 26 additions and 7 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
pass.csv
venv/
__pycache__/

View File

@ -1,4 +1,7 @@
# pass2csv
Source is available [at GitHub](https://github.com/reinefjord/pass2csv).
Requires [python-gnupg](https://pypi.python.org/pypi/python-gnupg) and python3.
Run with path to password store as argument:

View File

@ -10,7 +10,7 @@ import gnupg
logger = logging.getLogger(__name__)
class CSVExporter():
class CSVExporter:
def __init__(self, kpx_format, login_fields, get_url, exclude_rows):
logging.basicConfig(level=logging.INFO)
self.logger = logger

View File

@ -1,9 +1,24 @@
from setuptools import setup
import setuptools
setup(
name='pass2csv',
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="pass2csv",
version="0.1.0",
description='pass2csv',
scripts=['pass2csv.py'],
install_requires=["python-gnupg"]
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"],
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Topic :: Utilities",
]
)