cobrateam / django-htmlmin

HTML minifier for Python frameworks (not only Django, despite the name).
http://pypi.python.org/pypi/django-htmlmin
BSD 2-Clause "Simplified" License
542 stars 73 forks source link

django-htmlmin conflict with htmlmin #107

Open tigerfoot opened 8 years ago

tigerfoot commented 8 years ago

I'm trying to package django-htmlmin at system level, but there's a conflict in filehierarchy with the also well know htmlmin package

File /usr/lib/python3.5/site-packages/htmlmin/__init__.py
  from install of
     python3-django-htmlmin-0.9.1-3.1.noarch (bfdlp3)
  conflicts with file from install of
     python3-htmlmin-0.1.10-3.2.noarch (dlp3)

File /usr/lib/python3.5/site-packages/htmlmin/__pycache__/__init__.cpython-35.pyc
  from install of
     python3-django-htmlmin-0.9.1-3.1.noarch (bfdlp3)
  conflicts with file from install of
     python3-htmlmin-0.1.10-3.2.noarch (dlp3)

File /usr/lib/python3.5/site-packages/htmlmin/__pycache__/middleware.cpython-35.pyc
  from install of
     python3-django-htmlmin-0.9.1-3.1.noarch (bfdlp3)
  conflicts with file from install of
     python3-htmlmin-0.1.10-3.2.noarch (dlp3)

File /usr/lib/python3.5/site-packages/htmlmin/middleware.py
  from install of
     python3-django-htmlmin-0.9.1-3.1.noarch (bfdlp3)
  conflicts with file from install of
     python3-htmlmin-0.1.10-3.2.noarch (dlp3)

I guess that django-htmlmin should move to its own directory or become a django module (in terms of filesystem placement) and place itself under /usr/lib/python3.5/site-packages/django

bartmika commented 7 years ago

+1