Skip to content

Commit

Permalink
fix: include static files in Python package
Browse files Browse the repository at this point in the history
  • Loading branch information
Agrendalath committed Mar 6, 2023
1 parent 8633c2e commit a2ec260
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion html_xblock/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""HTML XBlock module."""
from .html import ExcludedHTML5XBlock, HTML5XBlock

__version__ = "1.3.2"
__version__ = "1.3.3"
9 changes: 3 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import re
import sys

from setuptools import find_packages, setup
from setuptools import setup


def get_version(*file_paths):
Expand Down Expand Up @@ -123,11 +123,8 @@ def package_data(pkg, roots):
author='OpenCraft',
url='https://github.com/open-craft/xblock-html',
license='AGPL v3',
packages=find_packages(
include=['html_xblock', 'html_xblock.*'],
exclude=["*tests"],
),
include_package_data=True,
packages=['html_xblock'],
package_data=package_data('html_xblock', ['static', 'public']),
install_requires=load_requirements('requirements/base.in'),
python_requires=">=3.8",
keywords='Python edx',
Expand Down

0 comments on commit a2ec260

Please sign in to comment.