File tree 3 files changed +3
-12
lines changed
3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 46
46
sudo apt-get update && sudo apt-get install openssl curl
47
47
conda install -y anaconda-client conda-build conda-verify
48
48
python -m pip install --upgrade pip
49
- pip install setuptools wheel
50
- pip install build --user
51
- - name : Build package
52
- run : >-
53
- python -m build --sdist --wheel --outdir dist/
49
+ pip install setuptools wheel build
54
50
- name : Publish distribution to Anaconda
55
51
env :
56
52
ANACONDA_API_TOKEN : ${{ secrets.ANACONDA_TOKEN }}
60
56
# Get the version of the library
61
57
export TORCHHD_VERSION=$(python -c "with open('torchhd/version.py') as f: exec(f.read()); print(__version__)")
62
58
63
- # Calculate the HASH of the package
64
- mv ./dist/torch_hd-${TORCHHD_VERSION}.tar.gz ./conda-build/torchhd.tar.gz
65
- export TORCHHD_HASH=$(openssl sha256 ./conda-build/torchhd.tar.gz | awk '{print $2}')
66
-
67
59
# Build for noarch platform
68
60
conda-build -c pytorch --output-folder ./conda-build ./conda
69
61
Original file line number Diff line number Diff line change 5
5
version : {{ TORCHHD_VERSION }}
6
6
7
7
source :
8
- url : https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ TORCHHD_VERSION }}.tar.gz
9
- sha256 : {{ TORCHHD_HASH }}
8
+ path : ../
10
9
11
10
build :
12
11
noarch : python
Original file line number Diff line number Diff line change 21
21
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
# SOFTWARE.
23
23
#
24
- __version__ = "5.6.2 "
24
+ __version__ = "5.6.3 "
You can’t perform that action at this time.
0 commit comments