Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Change usage to commercial
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed Mar 29, 2022
1 parent e740bcb commit b61b923
Show file tree
Hide file tree
Showing 5 changed files with 145 additions and 0 deletions.
29 changes: 29 additions & 0 deletions 1.1.1/create.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import audb
import audeer
import audformat


name = 'crema-d'
previous_version = '1.1.0'

build_dir = '../build'
build_dir = audeer.mkdir(build_dir)

db = audb.load_to(
build_dir,
name,
version=previous_version,
num_workers=8,
cache_root=None,
verbose=True
)

# Fix usage and add remark to description
db.usage = audformat.define.Usage.COMMERCIAL
db.description += (
' '
'When using the database commercially, '
'the database must be referenced '
'together with its license.'
)
db.save(build_dir)
20 changes: 20 additions & 0 deletions 1.1.1/publish.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import audb


previous_version = '1.1.0'
version = '1.1.1'
build_dir = '../build'

repository = audb.Repository(
name='data-public-local',
host='https://artifactory.audeering.com/artifactory',
backend='artifactory',
)
audb.publish(
build_dir,
version=version,
previous_version=previous_version,
repository=repository,
num_workers=1,
verbose=True,
)
3 changes: 3 additions & 0 deletions 1.1.1/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
audb
audeer
audformat
88 changes: 88 additions & 0 deletions 1.1.1/requirements.txt.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
#
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
#
# pip-compile --output-file=requirements.txt.lock requirements.txt
#
--index-url https://artifactory.audeering.com/artifactory/api/pypi/pypi/simple

audb==1.2.4
# via -r requirements.txt
audbackend==0.3.12
# via audb
audeer==1.17.2
# via
# -r requirements.txt
# audb
# audbackend
# audfactory
# audformat
# audiofile
# audobject
audfactory==1.0.8
# via audbackend
audformat==0.13.3
# via
# -r requirements.txt
# audb
audiofile==1.0.3
# via
# audb
# audformat
audobject==0.6.2
# via audb
audresample==1.1.0
# via audb
certifi==2021.10.8
# via requests
cffi==1.15.0
# via soundfile
charset-normalizer==2.0.12
# via requests
dohq-artifactory==0.7.742
# via
# audbackend
# audfactory
idna==3.3
# via requests
iso-639==0.4.5
# via audformat
numpy==1.22.2
# via
# audiofile
# audresample
# pandas
# sox
oyaml==1.0
# via
# audb
# audformat
# audobject
pandas==1.3.5
# via audformat
pycparser==2.21
# via cffi
pyjwt==2.3.0
# via dohq-artifactory
python-dateutil==2.8.2
# via
# dohq-artifactory
# pandas
pytz==2021.3
# via pandas
pyyaml==6.0
# via
# audformat
# oyaml
requests==2.27.1
# via dohq-artifactory
six==1.16.0
# via python-dateutil
soundfile==0.10.3.post1
# via audiofile
sox==1.4.1
# via audiofile
tqdm==4.62.3
# via audeer
urllib3==1.26.8
# via requests
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

Version 1.1.1 (2022/03/29)
--------------------------

* Changed: set usage to ``commercial``

Version 1.1.0 (2022/02/17)
--------------------------

Expand Down

0 comments on commit b61b923

Please sign in to comment.