https://github.com/pintman/picore-numpy
numpy for picore/tinycore linux
https://github.com/pintman/picore-numpy
Last synced: 4 months ago
JSON representation
numpy for picore/tinycore linux
- Host: GitHub
- URL: https://github.com/pintman/picore-numpy
- Owner: pintman
- Created: 2018-04-25T15:38:41.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-07T12:37:54.000Z (about 7 years ago)
- Last Synced: 2024-12-29T17:40:45.457Z (5 months ago)
- Size: 19.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# picore-numpy
Find here the numpy package for the picore distribution based on
[tinycore linux](http://www.tinycorelinux.net).## Installation
Installation of packages needed for compilation
$ tce-load -i compiletc python3.6-dev squashfstools
Following the [instructions](http://wiki.tinycorelinux.net/wiki:creating_extensions).
TMP_DIR=/tmp/py3.6-numpy/usr/local/lib/python3.6/
pip3.6 install --user numpy
mkdir -p $TMP_DIR
cp -r ~/.local/lib/python3.6/site-packages/numpy* $TMP_DIR
cd /tmp
mksquashfs py3.6-numpy py3.6-numpy.tcz
cd /tmp/py3.6-numpy
find usr -not -type d > /tmp/py3.6-numpy/py3.6-numpy.tcz.list
md5sum /tmp/py3.6-numpy.tcz > /tmp/py3.6-numpy.tcz.md5.txt
tar cvzf py3.6-numpy.tar.gz /tmp/py3.6-numpy.{tcz,tcz.list,tcz.m5.txt,tcz.dep,build-dep}Finally removing `*pyc` files and [stipping the binaries](http://forum.tinycorelinux.net/index.php/topic,21895.msg137153.html#msg137153).
$ sudo strip --strip-unneeded /usr/local/lib/python3.6/numpy/core/_dummy.cpython-36m-arm-linux-gnueabihf.so
$ sudo strip --strip-debug /usr/local/lib/python3.6/numpy/core/lib/libnpymath.a