Commit 1a63586
authored
build: add missing files to PyPI distribution (v3.3.0) (#140)
The existing PyPI distribution (edx-codejail 3.2.0) was
missing several files that made it unsuitable for installation
by edx-platform:
* It was missing root scripts: proxy_main.py and memory_stress.py.
* It was missing the apparmor-profiles and sudoers-files directories.
* It wasn't missing any Python modules under codejail, but *if* any
sub-packages had been added to codejail, they would have been
omitted from the distribution. This could have bitten someone in the future.
To fix, we modify setup.py and add a MANIFEST.in, in line with the
pattern established by the cookiecutter repo:
https://github.com/openedx/edx-cookiecutters/blob/master/python-template/%7B%7Bcookiecutter.placeholder_repo_name%7D%7D/setup.py
This wasn't affecting edx-platform because edx-platform currently
does a GitHub-based editable installation (`-e git+https://...`) for
codejail. However, we'd like to move away from those editable
installations as a they are slow and cannot be kept up-to-date
with `make upgrade`.
Bump from 3.2.0 to 3.3.0.1 parent a36a8e6 commit 1a63586
4 files changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| |||
0 commit comments