timClicks / slate

The simplest way to extract text from PDFs in Python
http://timmcnamara.co.nz/
GNU General Public License v3.0
428 stars 139 forks source link

pip database incorrect? #34

Open howardjones opened 8 years ago

howardjones commented 8 years ago

I was going to report a bug with imports internal to slate, but then I noticed my version doesn't match the one on github, and in fact doesn't even match the version shown as latest on pypi:

(t) howie@local-linux-2:~/tmp$ pip install slate==0.5.2
Collecting slate==0.5.2
  Could not find a version that satisfies the requirement slate==0.5.2 (from versions: 0.2.3, 0.3)
No matching distribution found for slate==0.5.2

Seems that some metadata is wrong somewhere?

vmesel commented 8 years ago

I got this problem too, apparently this repo is old or something!

benspaulding commented 6 years ago

Yes, it appears that when the 0.4 and 0.5.2 releases of slate were made the package was not actually uploaded to PyPI; this index currently only shows 0.2.3 and 0.3.

You can install the newer code directly from GitHub by picking a branch to follow or exact commit to use.

> pip install https://github.com/timClicks/slate/archive/e796bbb09ea5ab473aa33ce2984bf9fc2bebb64b.tar.gz
Collecting https://github.com/timClicks/slate/archive/e796bbb09ea5ab473aa33ce2984bf9fc2bebb64b.tar.gz
  Downloading https://github.com/timClicks/slate/archive/e796bbb09ea5ab473aa33ce2984bf9fc2bebb64b.tar.gz
Requirement already satisfied: setuptools in ./.local/share/venvs/5c01a182d9e612e/lib/python3.6/site-packages (from slate==0.5.2)
Collecting pdfminer3k (from slate==0.5.2)
Collecting ply>=3.4 (from pdfminer3k->slate==0.5.2)
Collecting pytest>=2.0 (from pdfminer3k->slate==0.5.2)
  Using cached pytest-3.4.0-py2.py3-none-any.whl
Collecting py>=1.5.0 (from pytest>=2.0->pdfminer3k->slate==0.5.2)
  Using cached py-1.5.2-py2.py3-none-any.whl
Collecting pluggy<0.7,>=0.5 (from pytest>=2.0->pdfminer3k->slate==0.5.2)
Collecting six>=1.10.0 (from pytest>=2.0->pdfminer3k->slate==0.5.2)
  Using cached six-1.11.0-py2.py3-none-any.whl
Collecting attrs>=17.2.0 (from pytest>=2.0->pdfminer3k->slate==0.5.2)
  Using cached attrs-17.4.0-py2.py3-none-any.whl
Installing collected packages: ply, py, pluggy, six, attrs, pytest, pdfminer3k, slate
  Running setup.py install for slate ... done
Successfully installed attrs-17.4.0 pdfminer3k-1.3.1 pluggy-0.6.0 ply-3.10 py-1.5.2 pytest-3.4.0 six-1.11.0 slate-0.5.2