Coder Social home page Coder Social logo

Comments (4)

yprez avatar yprez commented on June 25, 2024

Fixed in #54, sorry for the delay...

from django-logentry-admin.

interDist avatar interDist commented on June 25, 2024

Hey @yprez , I finally got to explore the reason why the locale files are not there even in 1.0.5. They are in the downloadable tar.gz but are missing in the wheel.

I think the reason is a faulty setup.py script. You have packages=['logentry_admin'] instead of packages=['logentry_admin', 'logentry_admin.locale'] or packages=find_packages() (see https://stackoverflow.com/a/54357929). This results in the following output when running pip in verbose mode, and the locale files are clearly skipped:

adding 'logentry_admin/__init__.py'
adding 'logentry_admin/admin.py'
adding 'logentry_admin/models.py'
adding 'logentry_admin/templates/admin/admin/logentry/change_form.html'
adding 'django_logentry_admin-1.0.5.dist-info/LICENSE.txt'
adding 'django_logentry_admin-1.0.5.dist-info/METADATA'
adding 'django_logentry_admin-1.0.5.dist-info/WHEEL'
adding 'django_logentry_admin-1.0.5.dist-info/top_level.txt'
adding 'django_logentry_admin-1.0.5.dist-info/RECORD'

from django-logentry-admin.

yprez avatar yprez commented on June 25, 2024

@interDist nice catch!
For some reason find_packages() returns ['tests', 'logentry_admin']
I'll take a look at it and release a new version when I get a chance...

from django-logentry-admin.

yprez avatar yprez commented on June 25, 2024

Fixed :)

from django-logentry-admin.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.