mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 04:51:10 +00:00
Initial commit
This commit is contained in:
15
recipes/unilabos/clean_build_dir.py
Normal file
15
recipes/unilabos/clean_build_dir.py
Normal file
@@ -0,0 +1,15 @@
|
||||
import os
|
||||
import shutil
|
||||
for item in os.listdir("../.."):
|
||||
if item.startswith("."):
|
||||
continue
|
||||
if item.endswith(".bat"):
|
||||
continue
|
||||
if item in ("setup.py", "unilabos", "config"):
|
||||
continue
|
||||
print("****", item)
|
||||
if os.path.isfile(item) or os.path.islink(item):
|
||||
os.remove(item)
|
||||
elif os.path.isdir(item):
|
||||
shutil.rmtree(item)
|
||||
print(os.listdir("../.."))
|
||||
23
recipes/unilabos/recipe.yaml
Normal file
23
recipes/unilabos/recipe.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
package:
|
||||
name: unilabos
|
||||
version: "0.8.0"
|
||||
|
||||
source:
|
||||
path: ../..
|
||||
|
||||
build:
|
||||
noarch: python
|
||||
script: |
|
||||
{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv
|
||||
# {{ PYTHON }} clean_build_dir.py
|
||||
|
||||
requirements:
|
||||
host:
|
||||
- python
|
||||
- pip
|
||||
run:
|
||||
- python
|
||||
|
||||
test:
|
||||
imports:
|
||||
- unilabos
|
||||
Reference in New Issue
Block a user