浏览代码

chore(pip): add requirements.txt and Pipenv file

pull/5/head
the-wastl 5 年前
父节点
当前提交
7c751d9718
共有 4 个文件被更改,包括 18 次插入0 次删除
  1. +2
    -0
      .flake8
  2. +13
    -0
      Pipfile
  3. +1
    -0
      main.py
  4. +2
    -0
      requirements.txt

+ 2
- 0
.flake8 查看文件

@@ -0,0 +1,2 @@
[flake8]
max-line-length = 120

+ 13
- 0
Pipfile 查看文件

@@ -0,0 +1,13 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
numpy = "==1.16.2"
opencv-python = "==4.0.0.21"

[requires]
python_version = "3.7"

+ 1
- 0
main.py 查看文件

@@ -27,6 +27,7 @@ logging.basicConfig(level=logging.INFO,
logger = logging.getLogger("main")
logger.setLevel(logging.INFO)


# The following function is used to determine the placement of
# text, at the moment it is incomplete
# function takes corners and text

+ 2
- 0
requirements.txt 查看文件

@@ -0,0 +1,2 @@
numpy==1.16.2
opencv-python==4.0.0.21

正在加载...
取消
保存