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 898cf65 commit 8acaace
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions Makefile
Expand Up @@ -11,6 +11,15 @@ help: ## display this help message
@echo "Please use \`make <target>' where <target> is one of"
@perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m %-25s\033[0m %s\n", $$1, $$2}'

clean: ## remove generated byte code, coverage reports, and build artifacts
find . -name '__pycache__' -exec rm -rf {} +
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
rm -fr build/
rm -fr dist/
rm -fr *.egg-info

extract_translations: ## extract strings to be translated, outputting .po files
cd $(WORKING_DIR) && i18n_tool extract
cd $(EXTRACT_DIR) && \
Expand Down
2 changes: 1 addition & 1 deletion problem_builder/__init__.py
@@ -1 +1 @@
__version__ = "5.1.1"
__version__ = "5.1.2"
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -177,7 +177,7 @@ def package_data(pkg, roots):
include=['problem_builder', 'problem_builder.*'],
exclude=["*tests"],
),
include_package_data=True,
package_data=package_data("problem_builder", ["templates", "public", "translations"]),
install_requires=load_requirements('requirements/base.in'),
python_requires=">=3.8",
keywords='Python edx',
Expand Down

0 comments on commit 8acaace

Please sign in to comment.