@platforma-open/milaboratories.software-test-utils.python-stub 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"python","platform":"linux-x64","registryURL":"https://bin.pl-open.science/","registryName":"platforma-open","remoteArtifactLocation":"software/platforma-open/milaboratories.software-test-utils.python-stub/main/1.0.5.tgz","uploadPath":"software/platforma-open/milaboratories.software-test-utils.python-stub/main/1.0.5.tgz"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"docker","platform":"linux-x64","remoteArtifactLocation":"containers.pl-open.science/milaboratories/pl-containers:platforma-open.milaboratories.software-test-utils.python-stub.main.326f10c1f012","entrypoint":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Auto-generated Dockerfile for Python package
|
|
2
|
+
FROM python:3.12-slim
|
|
3
|
+
|
|
4
|
+
WORKDIR /app
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# Always keep basic python packaging tools fresh to avoid CVEs even in old python versions
|
|
9
|
+
RUN pip install --upgrade pip wheel setuptools
|
|
10
|
+
|
|
11
|
+
# Install dependencies to leverage Docker cache
|
|
12
|
+
COPY requirements.txt .
|
|
13
|
+
RUN pip install --no-cache-dir -r requirements.txt
|
|
14
|
+
|
|
15
|
+
# Copy package source
|
|
16
|
+
COPY . /app
|
|
17
|
+
|
|
18
|
+
# Set Python path
|
|
19
|
+
ENV PYTHONPATH=/app
|
|
20
|
+
|
|
21
|
+
# Default command (will be overridden by entrypoint)
|
|
22
|
+
CMD ["bash"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"@platforma-open/milaboratories.software-test-utils.python-stub:main","binary":{"type":"python","registry":"platforma-open","package":"software/platforma-open/milaboratories.software-test-utils.python-stub/main/1.0.5.tgz","cmd":["python","got fake python by dependency","pkg={pkg}","python={python}"],"envVars":[],"runEnv":{"name":"@platforma-open/milaboratories.software-test-utils.runenv-python-stub:main","type":"python","registry":"platforma-open","package":"software/platforma-open/milaboratories.software-test-utils.runenv-python-stub/main/1.0.8-{os}-{arch}.tgz","envVars":[],"binDir":"bin/","python-version":""},"toolset":"pip","dependencies":{"requirements":"./requirements.txt"}},"docker":{"tag":"containers.pl-open.science/milaboratories/pl-containers:platforma-open.milaboratories.software-test-utils.python-stub.main.326f10c1f012","entrypoint":[],"cmd":["python","got fake python by dependency","pkg={pkg}","python={python}"],"pkg":"/app"}}
|
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@platforma-open/milaboratories.software-test-utils.python-stub",
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"description": "Stub pacakge that uses python run environment stub",
|
|
5
|
+
"block-software": {
|
|
6
|
+
"entrypoints": {
|
|
7
|
+
"main": {
|
|
8
|
+
"binary": {
|
|
9
|
+
"artifact": {
|
|
10
|
+
"type": "python",
|
|
11
|
+
"registry": "platforma-open",
|
|
12
|
+
"environment": "@platforma-open/milaboratories.software-test-utils.runenv-python-stub:main",
|
|
13
|
+
"root": "./src",
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"toolset": "pip",
|
|
16
|
+
"requirements": "./requirements.txt"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"cmd": [
|
|
20
|
+
"python",
|
|
21
|
+
"got fake python by dependency",
|
|
22
|
+
"pkg={pkg}",
|
|
23
|
+
"python={python}"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist/"
|
|
31
|
+
],
|
|
32
|
+
"license": "UNLICENSED",
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@platforma-open/milaboratories.software-test-utils.runenv-python-stub": "",
|
|
35
|
+
"@platforma-sdk/package-builder": "^3.11.0"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/",
|
|
39
|
+
"build": "pl-pkg build"
|
|
40
|
+
}
|
|
41
|
+
}
|