-
Notifications
You must be signed in to change notification settings - Fork 4
Home
- To create Manylinux container
sudo docker run -td --name manylinux64 quay.io/pypa/manylinux1_x86_64 bash
-
Enter container
sudo docker exec -it manylinux64 bash
-
Install Pre-requisites
yum groupinstall -y "Development Tools"
yum install -y csh libXext-devel libXau-devel libX11-devel libXt-devel libxml2-devel ncurses-devel texlive-multirow python-devel Cython
-
Clone git
git clone https://github.com/ChileanVirtualObservatory/pycupid.git
cd pycupid
-
Compile
make -j 4 &> make.log
-
Install Anaconda
Install anaconda to create environment for each python distribution (2.7,3.4,3.5,3.6)
-
Create wheel Enter the python environment and run
python setup.py bdist_wheel --plat-name manylinux1_x86_64
-
Send wheel to PyPi
Create a ~/.pypirc file with the following:
[pypi]
username = <username>
password = <password>
Install twine
pip install twine
And upload the dist
twine upload dist/*