-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmeta.yaml
62 lines (58 loc) · 1.69 KB
/
meta.yaml
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
{% set version = "2.3.2" %}
package:
name: chen
version: {{ version }}
about:
home: https://github.com/appthreat/chen
license: Apache-2.0
license_file: LICENSE
summary: "Code Hierarchy Exploration Net (chen)"
dev_url: https://github.com/appthreat/chen
requirements:
build:
- pip
- poetry
host:
- python
- pip
- poetry
run:
- python>=3.10,<3.14
- conda-forge::httpx>=0.27.2
- conda-forge::websockets>=14.1
- conda-forge::orjson>=3.10.13,<4.0.0
- conda-forge::rich>=13.9.4,<14.0.0
- conda-forge::oras-py==0.1.26
- conda-forge::appdirs>=1.4.4,<2.0.0
- conda-forge::psutil>=6.1.1,<7.0.0
- conda-forge::packageurl-python>=0.11.2,<0.12.0
- conda-forge::gitpython>=3.1.44,<4.0.0
- conda-forge::networkx>=3.4.2
build:
include_recipe: False
pin_depends: record
noarch: python
script: |
cp ${RECIPE_DIR}/pyproject.toml ${SRC_DIR}/
cp ${RECIPE_DIR}/poetry.lock ${SRC_DIR}/
cp ${RECIPE_DIR}/LICENSE ${SRC_DIR}/
cp ${RECIPE_DIR}/README.md ${SRC_DIR}/
cp ${RECIPE_DIR}/docker-compose.yml ${SRC_DIR}/
cp -rf ${RECIPE_DIR}/docs ${SRC_DIR}/
cp -rf ${RECIPE_DIR}/notebooks ${SRC_DIR}/
cp ${RECIPE_DIR}/codemeta.json ${SRC_DIR}/
rm -rf ${SRC_DIR}/{ci,console,dataflowengineoss,macros,platform,project,scripts,semanticcpg,target,tests,workspace,chennai}
{{ PYTHON }} -m poetry config virtualenvs.create false
{{ PYTHON }} -m poetry install
{{ PYTHON }} -m pip install --no-build-isolation --no-deps --ignore-installed .
entry_points:
- chen = chenpy.cli:main
source:
path: ./chenpy
folder: ./chenpy
test:
imports:
- chenpy
extra:
maintainers:
- Team AppThreat <[email protected]>