Skip to content

Commit

Permalink
Prepare for release and upload to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
reinefjord committed Jun 8, 2020
1 parent 1cf57cb commit 72c4a69
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pass.csv
venv/
__pycache__/
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
2 changes: 1 addition & 1 deletion pass2csv.py → pass2csv
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
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
Expand Down
27 changes: 21 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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="[email protected]",
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",
]
)

0 comments on commit 72c4a69

Please sign in to comment.