jceel / py-libzfs

Python libzfs bindings
16 stars 8 forks source link

missing: requirements.txt #25

Open igalic opened 7 years ago

igalic commented 7 years ago

when trying to install this package from source, we hit the issue where it doesn't declare its own dependencies thru requirements.txt or other means and as such, fails to compile because it's missing Cython

Collecting libzfs from git+https://github.com/freenas/py-libzfs.git#egg=libzfs (from -r requirements.txt (line 10))
  Cloning https://github.com/freenas/py-libzfs.git to /tmp/pip-build-pllsc0sm/libzfs
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-pllsc0sm/libzfs/setup.py", line 27, in <module>
        import Cython.Compiler.Options
    ModuleNotFoundError: No module named 'Cython'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-pllsc0sm/libzfs/

(please do not be too concerned with freenas in the url, as that part has definitely not changed in their repo ;)