File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ include mathics_django/Makefile
88include requirements-full.txt
99exclude mathics_django/autoload
1010recursive-include mathics_django *.py
11+ recursive-include mathics_django/web *.py
12+ recursive-include mathics_django/web/controllers *.py
1113recursive-include mathics_django/web/media *
14+ recursive-include mathics_django/web/migrations *.py
1215recursive-include mathics_django/web/templates *
16+ recursive-include mathics_django/web/templatetags *.py
1317recursive-include test *.py
Original file line number Diff line number Diff line change 55
66if __name__ == "__main__" :
77 # TODO: move setup info into pyproject.toml
8+ # However by having this here, we can *debug* this stuff easier.
89 setup (
910 packages = find_packages (),
10- # include_package_data has to be False,
11- # or else Python will erroneously find
12- # "autoload", "doc" and others as an
13- # importable Python package, which it is not,
14- # and complain with a warning!
11+ # Below, we include set include_package_data to False *and*
12+ # include the python files explicitly found in find_packaages
13+ # above. Without this Python warns that it can't find
14+ # "autoload", "doc" and others when building a wheel.
1515 include_package_data = False ,
1616 package_data = {
1717 "mathics_django" : [
1818 "autoload/settings.m" ,
19+ "doc/*.py" ,
1920 "doc/*.pcl" ,
21+ "web/*.py" ,
22+ "web/controllers/*.py" ,
2023 "web/media/css/*.css" ,
2124 "web/media/doc/*.png" ,
2225 "web/media/img/*" ,
2528 "web/media/js/*.js" ,
2629 "web/media/js/**/*.js" ,
2730 "web/media/js/mathics-threejs-backend/**/*" ,
31+ "web/migrations/*.py" ,
2832 "web/templates/**/*.html" ,
33+ "web/templatetags/*.py" ,
2934 "web/media/js/mathjax/**/*" ,
3035 ]
3136 },
You can’t perform that action at this time.
0 commit comments