From 751e28e40ecad1c0b5c1b3d6e076af3e9266b432 Mon Sep 17 00:00:00 2001 From: jakobrunge Date: Fri, 17 Mar 2023 22:43:42 +0100 Subject: [PATCH] updated docs --- release_on_pip.sh | 58 ----------------------------------------------- 1 file changed, 58 deletions(-) delete mode 100755 release_on_pip.sh diff --git a/release_on_pip.sh b/release_on_pip.sh deleted file mode 100755 index 0b08de55..00000000 --- a/release_on_pip.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/bash - -homename="jakobrunge" -version="52000" - -# Steps to move from github to pip -# (Make sure pypi token exists) - -# Change version number in setup.py -# Merge developer into Master on github - -# Make sure docs are updated on master -# tigramite/docs$ make -C . html; cp -r _build/html/* .; -# tigramite$ git add docs/* - -# Create folder for next version (e.g., version 4.2.1.0 as edited in setup.py) -mkdir /home/$homename/work/code/python_code/tigramite/tigramite_v4/tigramitepipdistribute/tigramitepypi/v$version -cd /home/$homename/work/code/python_code/tigramite/tigramite_v4/tigramitepipdistribute/tigramitepypi/v$version - -# Make sure to be in a clean anaconda -conda create --name tigramite-release-$version python=3.9 anaconda -y -source ~/anaconda3/etc/profile.d/conda.sh -conda activate tigramite-release-$version - -# Pull tigramite github -git clone https://github.com/jakobrunge/tigramite.git -cd tigramite - -# Checkout master -git checkout master - -# Run all those in Linux or Windows - -# Packages needed for setup (the parameter "--use-feature=2020-resolver" may not be necessary anymore soon ) -pip install --upgrade setuptools wheel twine auditwheel - -# Install the package itself in the environment -pip install -e .['dev'] - -# Rebuild the .c files from the .pyc files -# python setup.py develop - -# Build the distribution -python setup.py sdist bdist_wheel - - -# Linux: -# auditwheel repair --plat manylinux2014_x86_64 ./dist/*linux_x86_64.whl -w ./dist/ -# auditwheel repair --plat manylinux2014_x86_64 ./dist/*.whl -w ./dist/ - - -# Upload the distro -# twine upload dist/*manylinux*.whl dist/*tar.gz -twine upload dist/*.whl dist/*tar.gz - - -# Windows (EDIT names to upload all things .whl and tat.gz in dist/ !!!): -# twine upload dist/*manylinux*.whl dist/*tar.gz