WIP on splitting out primecount Sage spkg with its cython interface
testing:
- Install primecount C++ library
cd /tmp/
git clone https://github.com/kimwalisch/primecount
cd primecount
cmake . -DBUILD_SHARED_LIBS=ON
make -j
sudo make install
- in this repo, do
python3 setup.py install --user
python3
and
>>> import primecount
>>> primecount.pi(1000) # not working yet