This doc aims to help you with building and uploading easygraph in different OS using pip and conda.
1.Get the source code and cd to your project
git clone https://github.com/easy-graph/Easy-Graph.git
cd to your project
2.run the script in powershell
./build_easygraph_windows.bat
【Note】 The premise is that you have to install prerequisites according to the comments in the script.
cd to your project
python -m twine upload dist/*
1.Get the source code and cd to your project
git clone https://github.com/easy-graph/Easy-Graph.git
cd to your project
2.run the script
bash/zsh scripts/build_easygraph_macos.sh
【Note】 The premise is that you have to install prerequisites according to the comments in the script.
run the script:
bash/zsh scripts/upload_easygraph.sh
1.Get the source code and cd to your project
git clone https://github.com/easy-graph/Easy-Graph.git
cd /Easy-Graph
2.run the script:
bash/zsh scripts/build_easygraph_linux.sh
【Note】 The premise is that you have to install prerequisites according to the comments in the script.
modify the docker name in upload_easygraph.sh, then:
bash/zsh scripts/upload_easygraph.sh
The verify process is the same in all OS.
- pip cache purge
- pip uninstall Python-EasyGraph
- pip install -i https://pypi.Python.org/simple/ Python-EasyGraph
If the download file is whl, it means that your build&upload process is successful.
Refer to https://conda.io/projects/conda-build/en/latest/user-guide/tutorials/build-pkgs-skeleton.html
conda build --python 3.6 Easy-Graph
conda build --python 3.7 Easy-Graph
conda build --python 3.8 Easy-Graph
conda build --python 3.9 Easy-Graph
Finaly, you are free to change all the script to your taste.