pafoster / pyitlib

A library of information-theoretic methods for data analysis and machine learning, implemented in Python and NumPy.
MIT License
90 stars 17 forks source link

Package installation issue on 0.2.2 version. Comma is missing. #14

Open jrzkaminski opened 1 year ago

jrzkaminski commented 1 year ago

Hello, fellow developers!

A library I'm working on is dependent on pyitlib==0.2.2. Everything works just fine when I install it as a dependency, but when I try to install it separately there is a failure during installation, that clearly says that a comma is missing in setup.py somewhere in dependencies.

Here is the screenshot of the failure:

pip install --no-cache-dir pyitlib==0.2.2
Collecting pyitlib==0.2.2
  Downloading pyitlib-0.2.2.tar.gz (27 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      /opt/homebrew/Caskroom/miniforge/base/envs/tmp-pyitlib/lib/python3.10/site-packages/setuptools/dist.py:788: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
        warnings.warn(
      error in pyitlib setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
          pandas>=0.20.2numpy>=1.9.2
                ~~~~~~~~^
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.
Screenshot 2023-03-16 at 14 03 22

Thank you in advance.

Here In setup.py a comma is missing in requirements. Could you please re-upload the version if it is possible.

Screenshot 2023-03-16 at 14 09 22