Closed JulienPalard closed 4 years ago
Setuptools is needed here: https://github.com/sbraz/pymediainfo/blob/7eccc4b15a9d6a7e1ec29b1e9d9d3195bbf4d852/pymediainfo/__init__.py#L9
I feel not listing it would be wrong.
Oh, pkg_resource
, good old Kryptonite...
It looks completly legitimate, I missed it. And as pip-compile
don't pin it, it won't conflict with pip in my setup, so I close this issue.
Spotted you're having
setuptools
as an install dependency, which looks wrong to me, as the install dependency is read by setuptools itself, so if this value is read, setuptools is already here.And the other way around if setuptools is not here there's no way to discover this install_dependency (as it's given as a paramter of setuptools.setup).
Not pinning it won't hurt a lot though, but it can still bite: if a project requiring pymediainfo is freezing subdependencies, it will pin setuptools on a specific version, which could conflict with pip itself.
I found out by running
pip-compile
on a project of mine which depends onpymediainfo
(Thanks! I appreciate the project!), thanksfullypip-compile
don't pin the version in this case, to avoid conflict with pip:I'd recomand removing it.