From 54c1f6f845765fa7ed8720bbbc0130d99fc7a123 Mon Sep 17 00:00:00 2001 From: Matthias Baumgartner Date: Sat, 4 Mar 2023 16:51:11 +0100 Subject: setup script --- README.md | 6 ++++++ setup.py | 29 +++++++++++++++++++++-------- tagit.toml | 11 ----------- 3 files changed, 27 insertions(+), 19 deletions(-) delete mode 100644 tagit.toml diff --git a/README.md b/README.md index 08707d3..662158b 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,11 @@ tagit - the BSFS browser ======================== +tagit is a graphical interface to browse through a BSFS storage. It is designed +with image collections in mind, therefore provides a means to quickly navigate a +collection by user-assigned tags, and to easily edit images' tags. + + ## Installation You can install tagit via pip: @@ -27,6 +32,7 @@ Install the following additional packages besides tagit: $ pip install coverage mypy pylint $ pip install sphinx sphinx-copybutton sphinxcontrib-video furo $ pip install build + $ pip install pyexiv2 To ensure code style discipline, run the following commands: diff --git a/setup.py b/setup.py index 7cc00a8..73fa24c 100644 --- a/setup.py +++ b/setup.py @@ -1,27 +1,40 @@ -from setuptools import setup +from setuptools import setup, find_packages import os setup( + # package metadata name='tagit', - version='0.0.1', + version='0.23.03', author='Matthias Baumgartner', - author_email='dev@igsor.net', - description='A frontend to the Black Star File System.', - long_description=open(os.path.join(os.path.dirname(__file__), 'README')).read(), + author_email='dev@bsfs.io', + description='The Black Star File System (BSFS) browser and tagger.', + long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), license='BSD', license_files=('LICENSE', ), - url='https://www.igsor.net/projects/blackstar/tagit/', + url='https://www.bsfs.io/tagit/', download_url='https://pip.igsor.net', + + # packages packages=('tagit', ), + # data files are included if mentioned in MANIFEST.in + include_package_data=True, + + # entrypoints + entry_points={ + 'console_scripts': [ + 'tagit = tagit.apps:main', + ], + }, + + # dependencies + python_requires=">=3.7", install_requires=( 'kivy', - #'pyexiv2', (for test/utils/test_time.py) 'pyparsing' 'python-dateutil', 'pyyaml', 'requests', ), - python_requires=">=3.7", ) diff --git a/tagit.toml b/tagit.toml deleted file mode 100644 index 8412da7..0000000 --- a/tagit.toml +++ /dev/null @@ -1,11 +0,0 @@ -[project] -name = "tagit" -description = "A frontend to the Black Star File System." -version = "0.0.1" -license = {text = "BSD 3-Clause License"} -authors = [{name='Matthias Baumgartner', email="dev@igsor.net"}] -dependencies = [ - "kivy", -] -requires-python = ">=3.7" - -- cgit v1.2.3