-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
37 lines (33 loc) · 1.24 KB
/
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
37
import pathlib
from setuptools import setup, find_packages, Extension
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text(encoding="utf-8")
with open("requirements.txt", "r") as fin:
REQUIRED_PACKAGES = fin.read()
setup(
name="paddlelabel_ml",
version=open((HERE / "paddlelabel_ml" / "version"), "r").read().strip(),
description="Web Based Multi Purpose Annotation Tool - ML backend",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/PaddleCV-SIG/PP-Label-ML",
author="PaddleCV-SIG",
author_email="[email protected]",
license="Apache Software License",
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
],
packages=find_packages(exclude=("test", "tool")),
include_package_data=True,
install_requires=REQUIRED_PACKAGES,
entry_points={
"console_scripts": [
"paddlelabel_ml=paddlelabel_ml.__main__:run",
"paddlelabel-ml=paddlelabel_ml.__main__:run",
"pdlabel_ml=paddlelabel_ml.__main__:run",
"pdlabel-ml=paddlelabel_ml.__main__:run",
]
},
)