try to make packaging more better
This commit is contained in:
parent
2ca6ede26f
commit
44d82c5a54
3 changed files with 38 additions and 26 deletions
|
@ -7,7 +7,7 @@ import sys
|
||||||
|
|
||||||
import gnupg
|
import gnupg
|
||||||
|
|
||||||
__version__ = '1.1.0'
|
__version__ = '1.1.1'
|
||||||
|
|
||||||
|
|
||||||
def stderr(s, *args, **kwargs):
|
def stderr(s, *args, **kwargs):
|
||||||
|
@ -259,7 +259,7 @@ def compile_regexp(pattern):
|
||||||
return regexp
|
return regexp
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
def cli():
|
||||||
parsed = parse_args()
|
parsed = parse_args()
|
||||||
|
|
||||||
failed = False
|
failed = False
|
||||||
|
@ -310,3 +310,6 @@ if __name__ == '__main__':
|
||||||
}
|
}
|
||||||
|
|
||||||
main(**kwargs)
|
main(**kwargs)
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
cli()
|
|
@ -1,3 +1,35 @@
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools", "wheel"]
|
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
requires = ["setuptools"]
|
||||||
|
|
||||||
|
[project]
|
||||||
|
classifiers = [
|
||||||
|
"Development Status :: 5 - Production/Stable",
|
||||||
|
"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"
|
||||||
|
]
|
||||||
|
dependencies = ["python-gnupg"]
|
||||||
|
description = 'Export pass(1), "the standard unix password manager", to CSV'
|
||||||
|
dynamic = ["version"]
|
||||||
|
keywords = ["csv", "export", "pass2csv"]
|
||||||
|
maintainers = [
|
||||||
|
{name = "Rupus Reinefjord", email = "rupus@reinefjord.net"}
|
||||||
|
]
|
||||||
|
name = "pass2csv"
|
||||||
|
readme = "README.md"
|
||||||
|
requires-python = ">=3.6"
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
pass2csv = "pass2csv:cli"
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
Changelog = "https://github.com/reinefjord/pass2csv/releases"
|
||||||
|
Homepage = "https://github.com/reinefjord/pass2csv"
|
||||||
|
|
||||||
|
[tool.setuptools.dynamic]
|
||||||
|
version = {attr = "pass2csv.__version__"}
|
||||||
|
|
23
setup.cfg
23
setup.cfg
|
@ -1,23 +0,0 @@
|
||||||
[metadata]
|
|
||||||
name = pass2csv
|
|
||||||
version = 1.1.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 :: 5 - Production/Stable
|
|
||||||
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
|
|
Loading…
Reference in a new issue