Skip to content

Commit 742d849

Browse files
committed
update dataset_toolsV1.0.7
1 parent 24eded4 commit 742d849

4 files changed

Lines changed: 18 additions & 30 deletions

File tree

README.md

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,15 @@
1-
## python tools V1.0.6
1+
## dataset_toolsV1.0.7
22
* 不使用第三方wheel包
33

4+
## 更新日志
5+
* 支持创建文本检测数据集
46

5-
## 1.编写python文件
7+
<details onclose>
8+
<summary>查看更多更新日志</summary>
9+
* 支持制作VOC数据集
610

7-
## 2. 编写setup.py文件
8-
```Python
9-
from setuptools import setup, find_packages
11+
</details>
1012

11-
setup(
12-
name="jade_tools",
13-
version="0.1",
14-
keywords=("pip", "jade_tools", ""),
15-
description="jade_tools",
16-
long_description="xxx",
17-
license="MIT Licence",
18-
19-
url="https://jadehh@live.com",
20-
author="dataset_tools",
21-
author_email="jadehh@live.com",
22-
23-
packages=find_packages(),
24-
include_package_data=True,
25-
platforms="any",
26-
install_requires=["numpy","pillow","imageio"] # 这个项目需要的第三方库
27-
)
28-
```
29-
## 3.打包为wheel文件
30-
31-
安装wheel
32-
```bash
33-
pip install wheel
34-
```
3513
打包wheel
3614
```bash
3715
python setup.py sdist bdist_wheel

dataset_tools/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# @Email : jadehh@1ive.com
77
# @Software : Samples
88
# @Desc :
9+
from dataset_tools.version import full_version as __version__
910
DIRECTORY_ANNOTATIONS = 'Annotations/'
1011
DIRECTORY_IMAGES = 'JPEGImages/'
1112
DIRECTORY_PREANNOTATIONS = "PredictAnnotations/"

dataset_tools/version.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
# @File : version.py
4+
# @Author : jade
5+
# @Date : 2023/1/29 13:30
6+
# @Email : jadehh@1ive.com
7+
# @Software : Samples
8+
# @Desc :
9+
full_version = '1.0.7'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
setup(
1515
name="dataset_tools",
16-
version="1.0.6",
16+
version="1.0.7",
1717
keywords=("pip", "dataset_tools", ""),
1818
description="dataset_tools",
1919
long_description="",

0 commit comments

Comments
 (0)