-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·36 lines (30 loc) · 774 Bytes
/
setup.py
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
# encoding: utf-8
from setuptools import setup
import os, sys, shutil, platform
requirements = [
'pillow',
'openpyxl',
'opencv-python',
'numpy',
'pangu',
'pytesseract',
]
if platform.system() == 'Windows':
requirements.append('win10toast')
elif platform.system() == 'Darwin':
pass
long_description = """
A python + adb semi-auto script for FGO.
"""
setup(
name='fgo-auto-run',
version='0.1',
# packages=['fgo-auto-run'],
description='fgo-auto-run',
long_description=long_description,
author='fgo-auto-run',
install_requires=requirements,
)
shutil.rmtree('./build') #递归删除文件夹
shutil.rmtree('./dist') #递归删除文件夹
shutil.rmtree('./fgo_auto_run.egg-info') #递归删除文件夹