forked from amzn/supply-chain-simulation-environment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config
97 lines (75 loc) · 2.76 KB
/
Config
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
package.SupplyChainSimulationEnvironment = {
interfaces = (1.0);
deploy = {
generic = true;
};
build-environment = {
chroot = basic;
network-access = blocked;
};
# See https://w.amazon.com/?BrazilPython3
build-system = brazilpython;
build-tools = {
1.0 = {
BrazilPython = 3.0;
};
};
dependencies = {
1.0 = {
# Deploy the default python interpreter for your versionset. This
# guarantees `$ENVROOT/bin/python` and the specific interpreter
# version it resolves to will exist in your deployment.
#
# This is only needed for application packages that will be run
# from the CLI; if you are making a library, this is not needed.
#
Python = default;
# Uncomment if you want working auto-created bin wrapper scripts.
# See setup.py
#
Python-setuptools = default;
Python-numpy = 1.x;
Python-scipy = 1.x;
Python-networkx = 2.x;
Python-pandas = 0.24.x;
Python-cmd2 = 0.8.x;
Boto3 = 1.x;
Python-s3fs = 0.1.x;
Python-docker = 3.7.x;
Requests = 2.x.x;
};
};
test-dependencies = {
1.0 = {
# Run tests with py.test in BrazilPython
BrazilPython-Pytest = 3.x;
# Coverage for Python tests.
Python-Pytest-cov = 2.4.x;
Python-cov-core = 1.15.x;
Coverage = 4.x;
# Publish test results to Brazil's test and coverage detection
BrazilPythonTestSupport = 3.0;
# Sphinx documentation with Amazon customizations so that
# links on code.amazon.com work
Python-amazon-doc-utils = 1.0;
Sphinx = 1.x;
# Having IPython support is nice and handy; let's pull that in here.
# If you uncomment this, you can invoke this using
# `brazil-test-exec ipython`.
#
# Note that iPython 6.x does not work with Python 2.7. If your
# *versionset* is only 2.7, you're not going to be able to build
# packages that depend on this, and you might have to consider
# upgrading, or adding a build flag enabling one of the 3.x series
# in your versionset. That's a good idea anyway, since 2.7 is
# scheduled to be deprecated at the end of 2019
# Python-ipython = 6.x;
Pytest-runner = 4.x;
};
};
targets = {
# see setup.py for the actual build logic
# keep this line for brazil-path to work
python = { type = python; };
};
};