forked from msanchezc/pycupid
-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Camilo Valenzuela edited this page May 9, 2017
·
6 revisions
-
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 pypi config file Create a ~/.pypirc file with the following:
[pypi] username = <username> password = <password>
Run make upload_wheels
, this will create the necessary environments and upload the files using twine
-
Create wheel Enter the python environment and run
python setup.py bdist_wheel --plat-name manylinux1_x86_64
-
Send wheel to PyPi
Install twine
pip install twine
And upload the dist
twine upload dist/*