From a165ca6bffe9f6fd1a6bc8dd81eebe7370c2cb77 Mon Sep 17 00:00:00 2001 From: dece Date: Sat, 29 May 2021 17:17:04 +0200 Subject: [PATCH] setup --- .gitignore | 5 +++-- bebop/__main__.py | 3 ++- setup.cfg | 22 ++++++++++++++++++++++ 3 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 setup.cfg diff --git a/.gitignore b/.gitignore index dd3015f..84db70d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.pyc - -/venv/ +*.egg-info/ +build/ +dist/ diff --git a/bebop/__main__.py b/bebop/__main__.py index db3af47..d1965a0 100644 --- a/bebop/__main__.py +++ b/bebop/__main__.py @@ -43,4 +43,5 @@ def main(): save_cert_stash(cert_stash, cert_stash_path) -main() +if __name__ == '__main__': + main() diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..bea3ed3 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,22 @@ +[metadata] +name = bebop-browser +version = 0.0.1 +description = Terminal browser for Gemini +long_description = file: README.md +license = GPLv3 +author = dece +author-email = shgck@pistache.land +home-page = https://git.dece.space/Dece/Bebop +classifiers = + Environment :: Console + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.7 + +[options] +packages = bebop, bebop.browser +python_requires = >= 3.7 +setup_requires = setuptools >= 38.3.0 + +[options.entry_points] +console_scripts = + bebop = bebop.__main__:main