Commit a9b19128 authored by sbl1996@126.com's avatar sbl1996@126.com

Update setup

parent ec14cb7c
...@@ -3,11 +3,13 @@ SCRIPTS_DIR := "../ygopro-scripts" ...@@ -3,11 +3,13 @@ SCRIPTS_DIR := "../ygopro-scripts"
DATABASE_REPO := "https://github.com/mycard/ygopro-database/raw/f288cd7d353467eb3816babcbb04620e11f64e8a/locales" DATABASE_REPO := "https://github.com/mycard/ygopro-database/raw/f288cd7d353467eb3816babcbb04620e11f64e8a/locales"
LOCALES := en zh LOCALES := en zh
.PHONY: all assets script py_install ygoenv_so .PHONY: all assets script py_install ygoenv_so clean dev
all: assets script py_install all: assets script py_install
py_install: ygoenv_so dev: assets script py_install ygoenv_so
py_install:
pip install -e ygoenv pip install -e ygoenv
pip install -e . pip install -e .
...@@ -40,4 +42,10 @@ assets/locale/zh/cards.cdb: assets/locale/zh ...@@ -40,4 +42,10 @@ assets/locale/zh/cards.cdb: assets/locale/zh
wget -nv $(DATABASE_REPO)/zh-CN/cards.cdb -O $@ wget -nv $(DATABASE_REPO)/zh-CN/cards.cdb -O $@
assets/locale/zh/strings.conf: assets/locale/zh assets/locale/zh/strings.conf: assets/locale/zh
wget -nv $(DATABASE_REPO)/zh-CN/strings.conf -O $@ wget -nv $(DATABASE_REPO)/zh-CN/strings.conf -O $@
\ No newline at end of file
clean:
rm -rf scripts/script
rm -rf assets/locale/en assets/locale/zh
pip uninstall -y ygoenv
pip uninstall -y .
\ No newline at end of file
...@@ -19,6 +19,6 @@ setup( ...@@ -19,6 +19,6 @@ setup(
packages=find_packages(include='ygoenv*'), packages=find_packages(include='ygoenv*'),
long_description="", long_description="",
install_requires=INSTALL_REQUIRES, install_requires=INSTALL_REQUIRES,
python_requires=">=3.7", python_requires=">=3.10",
include_package_data=True, include_package_data=True,
) )
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment