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 pass.csv
venv/ venv/
__pycache__/

View file

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

View file

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

View file

@ -1,9 +1,24 @@
from setuptools import setup import setuptools
setup( with open("README.md", "r") as fh:
name='pass2csv', long_description = fh.read()
setuptools.setup(
name="pass2csv",
version="0.1.0", version="0.1.0",
description='pass2csv', author="Rupus Reinefjord",
scripts=['pass2csv.py'], author_email="rupus@reinefjord.net",
install_requires=["python-gnupg"] 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",
]
) )