Skip to content
Snippets Groups Projects
Commit 40fbdd3e authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Merge branch 'conda-verify' into 'master'

Conda verify

See merge request !13
parents 2af8c2f9 23a2d40f
No related branches found
No related tags found
1 merge request!13Conda verify
Pipeline #26850 passed
...@@ -384,6 +384,7 @@ if __name__ == '__main__': ...@@ -384,6 +384,7 @@ if __name__ == '__main__':
conda_version = '4' conda_version = '4'
conda_build_version = '3.16' conda_build_version = '3.16'
conda_verify_version = '3'
conda_verbosity = [] conda_verbosity = []
#if args.verbose >= 2: #if args.verbose >= 2:
...@@ -398,6 +399,7 @@ if __name__ == '__main__': ...@@ -398,6 +399,7 @@ if __name__ == '__main__':
'python', 'python',
'conda=%s' % conda_version, 'conda=%s' % conda_version,
'conda-build=%s' % conda_build_version, 'conda-build=%s' % conda_build_version,
'conda-verify=%s' % conda_verify_version,
'twine', #required for checking readme of python (zip) distro 'twine', #required for checking readme of python (zip) distro
]) ])
...@@ -408,6 +410,7 @@ if __name__ == '__main__': ...@@ -408,6 +410,7 @@ if __name__ == '__main__':
'python', 'python',
'conda=%s' % conda_version, 'conda=%s' % conda_version,
'conda-build=%s' % conda_build_version, 'conda-build=%s' % conda_build_version,
'conda-verify=%s' % conda_verify_version,
'twine', #required for checking readme of python (zip) distro 'twine', #required for checking readme of python (zip) distro
]) ])
conda_bld_path = os.path.join(args.conda_root, 'conda-bld') conda_bld_path = os.path.join(args.conda_root, 'conda-bld')
......
...@@ -35,6 +35,7 @@ requirements: ...@@ -35,6 +35,7 @@ requirements:
- click-plugins - click-plugins
- conda=4 - conda=4
- conda-build=3.16 - conda-build=3.16
- conda-verify=3
- certifi - certifi
- pytz - pytz
- python-dateutil - python-dateutil
......
...@@ -8,17 +8,30 @@ ...@@ -8,17 +8,30 @@
============== ==============
You can install this package via conda_, simply pointing to our stable or beta You can install this package via conda_, simply pointing to our stable or beta
channels:: channels:
$ conda create -n bdt -c https://www.idiap.ch/software/bob/conda bob.devtools .. code-block:: sh
# or, for beta releases:
$ conda create -n bdt -c https://www.idiap.ch/software/bob/conda/label/beta bob.devtools
We provide packages for both 64-bit Linux and MacOS. Once installed, you can $ conda create -n bdt -c https://www.idiap.ch/software/bob/conda bob.devtools
use these tools within the created environment like this:: # or, for beta releases:
$ conda create -n bdt -c https://www.idiap.ch/software/bob/conda/label/beta -c https://www.idiap.ch/software/bob/conda bob.devtools
$ conda activate bdt If you use one of our supported Python versions on your base environment, you
(bdt) $ bdt --help may also install ``bdt`` on it:
.. code-block:: sh
$ conda install -n base -c https://www.idiap.ch/software/bob/conda bob.devtools
# or, for beta releases:
$ conda install -n base -c https://www.idiap.ch/software/bob/conda/label/beta -c https://www.idiap.ch/software/bob/conda bob.devtools
We provide packages for both 64-bit Linux and MacOS, for Python 3.6+. Once
installed, you can use these tools within the created environment like this:
.. code-block:: sh
$ conda activate base #or bdt, depending where you installed it
(bdt) $ bdt --help
......
...@@ -7,9 +7,11 @@ version = open("version.txt").read().rstrip() ...@@ -7,9 +7,11 @@ version = open("version.txt").read().rstrip()
requires = [ requires = [
'setuptools', 'setuptools',
'click>=7.0.0', 'click>=7',
'click-plugins', 'click-plugins',
'conda-build>=3.0.0', 'conda>=4,<5',
'conda-build>=3,<4',
'conda-verify>=3,<4',
'certifi', 'certifi',
'requests', 'requests',
'gitpython', 'gitpython',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment