diff --git a/README.md b/README.md index a22b26384bcba4be0e245356504397ac60505b0b..899d1357177c8d4157a7027ba764f0babe6967fb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # plotID for Python + + This is the python plotID project. plotID is a program connected to Research Data Management (RDM). It has two main functionalities: 1. Tag your plot with an identifier. diff --git a/docs/source/_static/plotID.png b/docs/source/_static/plotID.png index 36af703c0cad369a2b6e265743212502d6dc3dd5..d7e15e6cfd6e03a4cffc690464c266593ea7ecff 100644 Binary files a/docs/source/_static/plotID.png and b/docs/source/_static/plotID.png differ diff --git a/docs/source/_static/plotID_logo_small.png b/docs/source/_static/plotID_logo_small.png new file mode 100644 index 0000000000000000000000000000000000000000..e5b4fa4d46c48843bc4086576ac7a54695aeda66 Binary files /dev/null and b/docs/source/_static/plotID_logo_small.png differ diff --git a/docs/source/_static/publish.png b/docs/source/_static/publish.png index 190c1d195ecd794080105339b796c288a15957df..c88b170aa00c76170b5f3b82b4f7d30f8c18223a 100644 Binary files a/docs/source/_static/publish.png and b/docs/source/_static/publish.png differ diff --git a/docs/source/_static/tagplot.png b/docs/source/_static/tagplot.png index 83f201b8b4593682b77424f7acb0bff56b5291b1..c59e554f21bd63d2072182aca3e503a0eaea2283 100644 Binary files a/docs/source/_static/tagplot.png and b/docs/source/_static/tagplot.png differ diff --git a/docs/source/conf.py b/docs/source/conf.py index a866324122801ba0577af8bdc02f7a527a16e600..09b075d408632deae4561c8e3fb9d6e660000f78 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -57,6 +57,7 @@ exclude_patterns = [] # a list of builtin themes. # html_theme = 'sphinx_rtd_theme' +html_logo = '_static/plotID.jpg' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, diff --git a/plotid/publish.py b/plotid/publish.py index c99a748c1e0bbc9c594da00fe7a26997a8130be9..cf5a1d3f829074dcceff13d030cf5663ffa47468 100644 --- a/plotid/publish.py +++ b/plotid/publish.py @@ -132,7 +132,7 @@ class PublishOptions: overwrite_dir = input('Do you want to overwrite ' 'the existing folder? ' '(yes/no[default])\n') - if overwrite_dir in ('yes', 'y'): + if overwrite_dir in ('yes', 'y', 'Yes', 'YES'): shutil.rmtree(dst_path) else: raise RuntimeError('publish has finished ' @@ -150,7 +150,7 @@ class PublishOptions: 'partially copied data at ' f'{dst_path_invisible} be' ' removed? (yes/no[default])\n') - if delete_dir in ('yes', 'y'): + if delete_dir in ('yes', 'y', 'Yes', 'YES'): shutil.rmtree(dst_path_invisible) raise RuntimeError('Publishing was unsuccessful. ' 'Try re-running publish.') from exc diff --git a/setup.cfg b/setup.cfg index dcda03408809b61a65dac066823b6d18889aea36..78e831b93c80f81a34e6b4f6b71a122e36c3aa0f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] name = plotID version = attr: plotid.__version__ -author = attr: plotid.__author__ +author = Martin Hock author_email = nfdi4ing@fst.tu-darmstadt.de description = The plotID toolkit supports researchers in tracking and storing relevant data in plots. Plots are labelled with an ID and the corresponding data is stored. license = Apache License, Version 2.0 @@ -11,16 +11,20 @@ long_description_content_type = text/markdown url = https://git.rwth-aachen.de/plotid/plotid_python project_urls = Bug Tracker = https://git.rwth-aachen.de/plotid/plotid_python/-/issues + Documentation = https://plotid.pages.rwth-aachen.de/plotid_python + Source = https://git.rwth-aachen.de/plotid/plotid_python classifiers = Programming Language :: Python Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3.10 License :: OSI Approved :: Apache Software License Operating System :: OS Independent - Development Status :: 2 - Pre-Alpha + Development Status :: 3 - Alpha Intended Audience :: Science/Research Topic :: Scientific/Engineering :: Visualization + + [options] packages = plotid python_requires = >=3.10