-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (35 loc) · 1.3 KB
/
setup.py
File metadata and controls
37 lines (35 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
if __name__ == "__main__":
# TODO: move setup info into pyproject.toml
# However by having this here, we can *debug* this stuff easier.
setup(
packages=find_packages(),
# Below, we include set include_package_data to False *and*
# include the python files explicitly found in find_packaages
# above. Without this Python warns that it can't find
# "autoload", "doc" and others when building a wheel.
include_package_data=False,
package_data={
"mathics_django": [
"autoload/settings.m",
"doc/*.py",
"doc/*.pcl",
"web/*.py",
"web/controllers/*.py",
"web/media/css/*.css",
"web/media/doc/*.png",
"web/media/img/*",
"web/media/img/favicons/*",
"web/media/fonts/*",
"web/media/js/*.js",
"web/media/js/**/*.js",
"web/media/js/mathics-threejs-backend/**/*",
"web/migrations/*.py",
"web/templates/**/*.html",
"web/templatetags/*.py",
"web/media/js/mathjax/**/*",
]
},
)