Comments (4)
Fixed in #54, sorry for the delay...
from django-logentry-admin.
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.
@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.
Fixed :)
from django-logentry-admin.
Related Issues (19)
- RemovedInDjango18Warning HOT 3
- This query requires pytz, but it isn't installed. HOT 6
- Django 1.9.5 - AttributeError: 'NoneType' object has no attribute 'app_label' HOT 3
- Admin should probably be completely readonly HOT 5
- Use get_change_message instead of change_message HOT 1
- Cannot display other than admin HOT 1
- Some field titles are not marked for translation
- Names of actions conflict with translations elsewhere HOT 1
- In Django 2.0 links to user and object are escaped HOT 2
- Update package on PyPI and in "Releases" HOT 1
- prevent escaping urls HOT 3
- Add test for Django 3.1
- Remove unsupported versions of Python and Django HOT 1
- Missing Django 2.2. dependency in tox.ini causing Travis tests to fail
- Tox tests failing for py36-flake8 / Django 3.2
- Write some tests HOT 1
- Fix Django 1.8 warning HOT 1
- Can you update PyPi? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-logentry-admin.