From b27fa505fea5ebc92adba1895bba5d7811dbd177 Mon Sep 17 00:00:00 2001 From: Paul Lesack Date: Thu, 4 May 2023 15:01:00 -0700 Subject: [PATCH] Repackaged --- pyproject.toml | 9 +++++++-- requirements.txt | 2 +- src/dataverse_utils/__init__.py | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e70707d..d187463 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,6 +32,10 @@ classifiers = ['Development Status :: 4 - Beta', requires-python = '>=3.6' dynamic = ['version', 'dependencies'] +#optional-dependencies = {server = ['psycopg2-binary']} #or as below +[project.optional-dependencies] +server = ['psycopg2-binary'] + [tools.setuptools] license-files = ['LICEN[CS]*'] @@ -47,8 +51,9 @@ Repository = 'https://github.com/ubc-library-rc/dataverse_utils.git' dv_del = 'dataverse_utils.scripts.dv_del:main' dv_ldc_uploader = 'dataverse_utils.scripts.dv_ldc_uploader:main' dv_manifest_gen = 'dataverse_utils.scripts.dv_manifest_gen:main' -dv_pg_facet_date = 'dataverse_utils.scripts.dv_pg_facet_date:main' +dv_pg_facet_date = 'dataverse_utils.scripts.dv_pg_facet_date:main [server]' dv_record_copy = 'dataverse_utils.scripts.dv_record_copy:main' dv_release = 'dataverse_utils.scripts.dv_release:main' -dv_replace_licenses = 'dataverse_utils.scripts.dv_replace_licenses:main' +dv_replace_licence = 'dataverse_utils.scripts.dv_replace_licences:main' +dv_replace_license = 'dataverse_utils.scripts.dv_replace_licences:main' dv_upload_tsv = 'dataverse_utils.scripts.dv_upload_tsv:main' diff --git a/requirements.txt b/requirements.txt index 5d9c2b0..d814588 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ chardet>=5.1.0 charset-normalizer>=3.1.0 dryad2dataverse>=0.5.8 idna>=3.4 -Markdown>=3.4.3 +Markdown>=3.2.1 markdownify>=0.11.6 requests>=2.29.0 requests-toolbelt>=1.0.0 diff --git a/src/dataverse_utils/__init__.py b/src/dataverse_utils/__init__.py index 6b8c762..a5e3be4 100644 --- a/src/dataverse_utils/__init__.py +++ b/src/dataverse_utils/__init__.py @@ -3,5 +3,5 @@ ''' from dataverse_utils.dataverse_utils import * -VERSION = (0,8,3) +VERSION = (0,8,5) __version__ = '.'.join([str(x) for x in VERSION])