@@ -11,15 +11,14 @@ about:
11
11
dev_url : https://github.com/appthreat/chen
12
12
requirements :
13
13
build :
14
- - python
15
14
- pip
15
+ - poetry
16
16
host :
17
- - pip
18
17
- python
19
- - setuptools
18
+ - pip
20
19
- poetry
21
20
run :
22
- - python>=3.10,<3.12
21
+ - python>=3.10,<3.13
23
22
- conda-forge::httpx>=0.27.0
24
23
- conda-forge::websockets>=12.0
25
24
- conda-forge::orjson>=3.10.1,<4.0.0
@@ -30,26 +29,33 @@ requirements:
30
29
- conda-forge::packageurl-python>=0.11.2,<0.12.0
31
30
- conda-forge::gitpython>=3.1.43,<4.0.0
32
31
- conda-forge::networkx>=3.3
33
- - conda-forge::numpy>=1.26
34
- - conda-forge::scipy>=1.11.3
35
32
build :
33
+ include_recipe : False
36
34
pin_depends : record
37
35
noarch : python
38
36
script : |
39
37
cp ${RECIPE_DIR}/pyproject.toml ${SRC_DIR}/
38
+ cp ${RECIPE_DIR}/poetry.lock ${SRC_DIR}/
40
39
cp ${RECIPE_DIR}/LICENSE ${SRC_DIR}/
41
40
cp ${RECIPE_DIR}/README.md ${SRC_DIR}/
42
41
cp ${RECIPE_DIR}/docker-compose.yml ${SRC_DIR}/
43
42
cp -rf ${RECIPE_DIR}/docs ${SRC_DIR}/
44
43
cp -rf ${RECIPE_DIR}/notebooks ${SRC_DIR}/
45
- rm -rf ${SRC_DIR}/{ci,console,dataflowengineoss,macros,platform,project,scripts,semanticcpg,target,tests,workspace}
44
+ cp ${RECIPE_DIR}/codemeta.json ${SRC_DIR}/
45
+ rm -rf ${SRC_DIR}/{ci,console,dataflowengineoss,macros,platform,project,scripts,semanticcpg,target,tests,workspace,chennai}
46
+ {{ PYTHON }} -m poetry config virtualenvs.create false
47
+ {{ PYTHON }} -m poetry install
46
48
{{ PYTHON }} -m pip install --no-build-isolation --no-deps --ignore-installed .
47
49
entry_points :
48
50
- chen = chenpy.cli:main
49
51
50
52
source :
51
53
path : ./chenpy
52
- folder : chenpy
54
+ folder : ./chenpy
55
+
56
+ test :
57
+ imports :
58
+ - chenpy
53
59
54
60
extra :
55
61
maintainers :
0 commit comments