Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions recipes/recipes_emscripten/flit-core/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
context:
version: "3.12.0"

package:
name: flit-core
version: ${{ version }}

source:
- url: https://pypi.io/packages/source/f/flit-core/flit_core-${{ version }}.tar.gz
sha256: 18f63100d6f94385c6ed57a72073443e1a71a4acb4339491615d0f16d6ff01b2

build:
number: 0
noarch: generic
script: ${PYTHON} -m pip install . --no-deps ${PIP_ARGS}

files:
exclude:
- '**/__pycache__/**'
- '**/*.pyc'
- '**/test_*.py'
python:
skip_pyc_compilation:
- '**/*.py'

requirements:
build:
- cross-python_${{ target_platform }}
- python
- pip
host:
- python
run:
- python

tests:
- script: pytester
files:
recipe:
- test_flit_core.py
requirements:
build:
- pytester
run:
- pytester-run

about:
license: BSD-3-Clause
license_file: LICENSE
summary: Distribution-building parts of Flit
homepage: https://github.com/pypa/flit

extra:
recipe-maintainers:
- Alex-PLACET
2 changes: 2 additions & 0 deletions recipes/recipes_emscripten/flit-core/test_flit_core.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def test_import_flit_core():
import flit_core
Loading