ian-andrich / PythonPengines

A Python interface to the Prolog pengines library. Makes it exceedingly easy to call out to SWI-Prolog within Python!
MIT License
12 stars 9 forks source link

install from pypi fails due to difference in directory name #2

Closed cmungall closed 6 years ago

cmungall commented 6 years ago
$ pip install PythonPengines
Collecting PythonPengines
  Using cached https://files.pythonhosted.org/packages/22/2a/dd32b771fa5f243c20c6094a914810dccbeac4bd2cc0b1a7bcd1f47cfca1/PythonPengines-0.1.4.tar.gz
Installing collected packages: PythonPengines
  Running setup.py install for PythonPengines ... done
Successfully installed PythonPengines-0.1.4
$ python
>>> import PythonPengines.Builder
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/cjm/tmp/foo/venv/lib/python3.6/site-packages/PythonPengines/Builder.py", line 3, in <module>
    from pengines.Exceptions import PengineNotReadyException
ModuleNotFoundError: No module named 'pengines'

I recommend mving PythonPengines to pengines (and naming the module on pypi)