Fixed subpackages
package:
- name: {{ name|lower }}
+ name: cloudpathlib-base
version: {{ version }}
source:
@@ -12,19 +12,17 @@ source:
build:
number: 0
- noarch: python
+ skip: true # [py<36]
script: {{ PYTHON }} -m pip install . -vv
-
-outputs:
- - name: cloudpathlib-base
requirements:
host:
- - python >= 3.6
- pip
+ - python
run:
- - python >= 3.6
+ - python
- importlib-metadata # [py<38]
+
test:
imports:
- cloudpathlib
@@ -33,51 +31,52 @@ outputs:
requires:
- pip
+outputs:
+ - name: cloudpathlib-base
- name: cloudpathlib-azure
requirements:
host:
- - python >= 3.6
- pip
+ - python
run:
- - python >= 3.6
- - azure-storage-blob >=12
+ - python
- {{ pin_subpackage('cloudpathlib-base', exact=True) }}
+ - azure-storage-blob >=12
test:
imports:
- cloudpathlib
commands:
- pip check
- - python -c "import cloudpathlib; from cloudpathlib.cloudpath import implementation_registry; implementation_registry['azure'].validate_completeness()"
+ - python -c "from cloudpathlib.cloudpath import implementation_registry; implementation_registry['azure'].validate_completeness()"
requires:
- pip
-
- name: cloudpathlib-s3
requirements:
host:
- - python >= 3.6
- pip
+ - python
run:
- - python >= 3.6
- - boto3
+ - python
- {{ pin_subpackage('cloudpathlib-base', exact=True) }}
+ - boto3
test:
imports:
- cloudpathlib
commands:
- pip check
- - python -c "import cloudpathlib; from cloudpathlib.cloudpath import implementation_registry; implementation_registry['s3'].validate_completeness()"
+ - python -c "from cloudpathlib.cloudpath import implementation_registry; implementation_registry['s3'].validate_completeness()"
requires:
- pip
- name: cloudpathlib
requirements:
host:
- - python >= 3.6
- pip
+ - python
run:
- - python >= 3.6
+ - python
- {{ pin_subpackage('cloudpathlib-azure', exact=True) }}
- {{ pin_subpackage('cloudpathlib-s3', exact=True) }}
test:
@@ -91,8 +90,6 @@ outputs:
- pip
-
-
about:
home: https://github.com/drivendataorg/cloudpathlib
summary: A library that implements (nearly all) of the pathlib.Path methods for URIs for different cloud storage services.
