File tree 3 files changed +6
-7
lines changed
3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 75
75
- uses : conda-incubator/setup-miniconda@v3
76
76
with :
77
77
miniconda-version : " latest"
78
+ channels : " conda-forge"
78
79
- name : conda setup
79
80
run : |
80
81
conda install -y anaconda-client
@@ -121,7 +122,7 @@ jobs:
121
122
- name : Install package
122
123
run : python -m pip install dist/*.whl
123
124
- name : Import package
124
- run : python -c "import $PACKAGE; print($PACKAGE.__version__)"
125
+ run : python -c "import $PACKAGE; print($PACKAGE._version. __version__)"
125
126
126
127
pip_publish :
127
128
name : Publish PyPI
Original file line number Diff line number Diff line change @@ -4,13 +4,11 @@ set -euxo pipefail
4
4
5
5
PACKAGE=" spatialpandas"
6
6
7
- python -m build -w .
7
+ python -m build --sdist .
8
8
9
9
VERSION=$( python -c " import $PACKAGE ; print($PACKAGE ._version.__version__)" )
10
10
export VERSION
11
11
12
- # conda config --env --set conda_build.pkg_format 2
13
- conda build scripts/conda/recipe --no-anaconda-upload --no-verify
12
+ conda build scripts/conda/recipe --no-anaconda-upload --no-verify -c conda-forge --package-format 1
14
13
15
- # mv "$CONDA_PREFIX/conda-bld/noarch/$PACKAGE-$VERSION-py_0.conda" dist
16
14
mv " $CONDA_PREFIX /conda-bld/noarch/$PACKAGE -$VERSION -py_0.tar.bz2" dist
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ package:
6
6
version : {{ VERSION }}
7
7
8
8
source :
9
- url : ../../../dist/{{ project["name"] }}-{{ VERSION }}-py3-none-any.whl
9
+ url : ../../../dist/{{ project["name"] }}-{{ VERSION }}.tar.gz
10
10
11
11
build :
12
12
noarch : python
13
- script : {{ PYTHON }} -m pip install --no-deps -vv {{ project["name"] }}-{{ VERSION }}-py3-none-any.whl
13
+ script : {{ PYTHON }} -m pip install --no-deps -vv .
14
14
entry_points :
15
15
{% for group,epoints in project.get("entry_points",{}).items() %}
16
16
{% for entry_point in epoints %}
You can’t perform that action at this time.
0 commit comments