-
Notifications
You must be signed in to change notification settings - Fork 39
/
setup.py
39 lines (34 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
38
39
# -*- coding: utf-8 -*-
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",
version=open((HERE / "paddlelabel" / "version"), "r").read().strip(),
description="Web Based Multi Purpose Annotation Software",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/PaddleCV-SIG/PaddleLabel",
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.9",
],
packages=find_packages(exclude=("tool.*", "tool")),
include_package_data=True,
install_requires=REQUIRED_PACKAGES,
entry_points={
"console_scripts": [
"paddlelabel=paddlelabel.__main__:run",
"pdlabel=paddlelabel.__main__:run",
"pt=paddlelabel.tool.__main__:run",
"paddlelabel_tools=paddlelabel.tool.__main__:run",
]
},
)