mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.5 KiB
50 lines
1.5 KiB
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
import io
|
|
import os
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
NAME = 'doccano'
|
|
DESCRIPTION = 'doccano'
|
|
URL = 'https://github.com/doccano/doccano'
|
|
EMAIL = 'hiroki.nakayama.py@gmail.com'
|
|
AUTHOR = 'Hironsan'
|
|
LICENSE = 'MIT'
|
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
|
|
long_description = '\n' + f.read()
|
|
|
|
# required = ['requests', 'boto3', 'pydantic', 'jinja2']
|
|
required = [line.rstrip() for line in io.open(os.path.join(here, 'app/requirements.txt')) if not line.startswith('psy')]
|
|
|
|
setup(
|
|
name=NAME,
|
|
use_scm_version=True,
|
|
setup_requires=['setuptools_scm'],
|
|
description=DESCRIPTION,
|
|
long_description=long_description,
|
|
long_description_content_type='text/markdown',
|
|
author=AUTHOR,
|
|
author_email=EMAIL,
|
|
url=URL,
|
|
packages=find_packages(exclude=('*.tests',)),
|
|
entry_points={
|
|
'console_scripts': [
|
|
'doccano = app.doccano.doccano:main'
|
|
]
|
|
},
|
|
install_requires=required,
|
|
include_package_data=True,
|
|
license=LICENSE,
|
|
classifiers=[
|
|
'License :: OSI Approved :: MIT License',
|
|
'Programming Language :: Python',
|
|
'Programming Language :: Python :: 3.6',
|
|
'Programming Language :: Python :: 3.7',
|
|
'Programming Language :: Python :: 3.8',
|
|
'Programming Language :: Python :: Implementation :: CPython',
|
|
'Programming Language :: Python :: Implementation :: PyPy'
|
|
],
|
|
)
|