webassets-3.0.0
توضیحات
Media asset management for Python, with glue code for various web frameworks
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | webassets-3.0.0 |
| نام | webassets |
| نسخه کتابخانه | 3.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Michael Elsdoerfer <michael@elsdoerfer.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/webassets/ |
| مجوز | BSD |
Asset management application for Python web development - use it to
merge and compress your JavaScript and CSS files.
Documentation: |ci|
https://webassets.readthedocs.io/
Since releases aren't exactly happening on a regular schedule, you are
encouraged to use the latest code. ``webassets`` is pretty well tested,
so as long as the build status icon above remains a reassuring green,
you shouldn't run into any trouble.
You can `download a tarball`__ of the development version, or
install it via ``pip install webassets==dev``.
Development:
For development, to run all the tests, you need to have at least Java 7
installed (required for example to run the `Google closure`_ filter).
1. Install Python requirements with uv::
$ uv venv
$ uv pip install -r uv.lock
2. Install other requirements::
$ ./requirements-dev.sh
3. Run the tests::
./run_tests.sh
__ http://github.com/miracle2k/webassets/tarball/master#egg=webassets-dev
.. _`Google closure`: https://github.com/google/closure-compiler/wiki/FAQ#the-compiler-crashes-with-unsupportedclassversionerror-or-unsupported-majorminor-version-510
.. |ci| image:: https://github.com/miracle2k/webassets/actions/workflows/ci.yml/badge.svg
:target: https://github.com/miracle2k/webassets/actions/workflows/ci.yml
نیازمندی
| مقدار | نام |
|---|---|
| - | pyyaml>=6.0.2 |
| - | zope-dottedname>=6.0 |
| xtr | jinja2>=3.1.4; |
| xtr | cssutils>=2.11.1; |
| xtr | closure>=20191111; |
| xtr | slimit>=0.8.1; |
| xtr | ply>=3.11; |
| xtr | libsass>=0.23.0; |
| xtr | rcssmin>=1.1.2; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl webassets-3.0.0:
pip install webassets-3.0.0.whl
نصب پکیج tar.gz webassets-3.0.0:
pip install webassets-3.0.0.tar.gz