-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
51 lines (46 loc) · 1.56 KB
/
BUILD
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
python_requirements(
name="reqs",
source="build-support/requirements/requirements.txt",
module_mapping={
"cybersource-rest-client-python": ["CyberSource"],
"django-anymail": ["anymail"],
"django-oauth-toolkit": ["oauth2_provider"],
"django-webpack-loader": ["webpack_loader"],
"edx-opaque-keys": ["opaque_keys"],
"factory-boy": ["factory"],
"GitPython": ["git"],
"google-api-python-client": ["googleapiclient"],
"google-auth": ["google.auth", "google.oauth2"],
"google-auth-oauthlib": ["google_auth_oauthlib"],
"hubspot-api-client": ["hubspot"],
"psycopg2-binary": ["psycopg2"],
"pytest-lazy-fixture": ["pytest_lazyfixture"],
"python3-saml": ["onelogin"],
"social-auth-app-django": ["social_django"],
"named-enum": ["enum"],
"setuptools": ["pkg_resources"],
"olposthog": ["olposthog"]
}
)
python_requirements(
name="reqs-testing",
source="build-support/requirements/requirements-testing.txt",
module_mapping={
"factory-boy": ["factory"],
"pytest-lazy-fixture": ["pytest_lazyfixture"],
"setuptools": ["pkg_resources"],
},
)
python_requirements(
name="reqs-build-support",
source="build-support/requirements/requirements-build-support.txt",
module_mapping={
"GitPython": ["git"],
"setuptools": ["pkg_resources"],
},
)
resources(
name="license",
sources=["LICENSE"],
)
pex_binary(name="django-admin", dependencies=["//:reqs#django"], script="django-admin")