limited-insurance-37393
11/23/2020, 8:25 PM./pants dependencies --type=source-and-3rdparty src/mitol-django-mail:mail
src/mitol-django-mail/manage.py:mail
The repository and branch is at https://github.com/mitodl/ol-django/tree/putting_on_pantshundreds-father-404
11/23/2020, 8:29 PMpython_requirements()
to get 3rd party reqs working
* Some subdirectories, like ol-django/src/mitol-django-common/mitol/common/
. You have python_library()
in the parent, but it’s using the default sources=['*.py', '!*_test.py', '!test_*.py']
, so it doesn’t recurse. You can either explicitly set sources and use **
, or use that same pattern from the other repo of 1 build file per directory, with usually nothing more than this in it:
python_library()
python_tests(name="tests")
limited-insurance-37393
11/23/2020, 8:30 PMhappy-kitchen-89482
11/23/2020, 11:23 PMinit
script to create these for you is a no-brainer. 🙂