Browse Source

Remove unnecessary files

pull/1689/head
Hironsan 2 years ago
parent
commit
4fa7dbdc32
5 changed files with 0 additions and 2105 deletions
  1. 19
      .coveragerc
  2. 19
      MANIFEST.in
  3. 73
      Pipfile
  4. 1911
      Pipfile.lock
  5. 83
      setup.py

19
.coveragerc

@ -1,19 +0,0 @@
[report]
omit =
backend/config/wsgi.py
backend/classifier/*
backend/server/migrations/*
backend/server/templatetags/*
backend/server/tests/*
backend/api/migrations/*
backend/api/tests/*
backend/authentification/tests/*
backend/authentification/templatetags/*
exclude_lines =
pragma: no cover
if __name__ == .__main__.
def __str__
raise NotImplementedError
fail_under = 90

19
MANIFEST.in

@ -1,19 +0,0 @@
include backend/manage.py
include backend/requirements.txt
include README.md
exclude *.yml
exclude *.yaml
graft backend/staticfiles
graft backend/client
graft backend/doccano
prune backend/staticfiles/bundle
prune backend/staticfiles/assets
prune backend/staticfiles/components
prune backend/server/static
prune frontend
prune docs
prune nginx
prune tools
global-exclude *.pyc

73
Pipfile

@ -1,73 +0,0 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
model-mommy = "*"
unittest-xml-reporting = "*"
vcrpy = "*"
vcrpy-unittest = "*"
coverage = "*"
flake8 = "*"
isort = "*"
pytest = "*"
autopep8 = "*"
pytest-cov = "*"
mypy = "*"
watchdog = "*"
argh = "*"
black = "*"
pyproject-flake8 = "*"
types-chardet = "*"
types-requests = "*"
types-waitress = "*"
[packages]
django = "~=3.2"
django-heroku = "*"
environs = "*"
furl = "*"
djangorestframework = "*"
django-filter = "*"
social-auth-app-django = "*"
django-polymorphic = "*"
django-cors-headers = "*"
drf-yasg = "*"
djangorestframework-xml = "*"
apache-libcloud = "*"
djangorestframework-csv = "*"
django-rest-polymorphic = "*"
conllu = "*"
chardet = "*"
colour = "*"
pyexcel = "*"
seqeval = "*"
whitenoise = "*"
dj-database-url = "*"
python-jose = "*"
pyexcel-xlsx = "*"
lockfile = "*"
gunicorn = "*"
fasteners = "*"
auto-labeling-pipeline = "*"
dj-rest-auth = "*"
django-drf-filepond = "*"
celery = "~=5.2"
django-celery-results = "*"
sqlalchemy = "*"
waitress = "*"
django-health-check = "*"
[requires]
python_version = "3.8"
[scripts]
isort = "isort api -c --skip migrations"
flake8 = "pflake8 --filename \"*.py\" --extend-exclude \"*/migrations\""
black = "black --check ."
mypy = "mypy ."
wait_for_db = "python manage.py wait_for_db"
test = "python manage.py test --pattern=\"test*.py\""
migrate = "python manage.py migrate"
collectstatic = "python manage.py collectstatic --noinput"

1911
Pipfile.lock
File diff suppressed because it is too large
View File

83
setup.py

@ -1,83 +0,0 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
import os
from setuptools import find_packages, setup
NAME = 'doccano'
DESCRIPTION = 'doccano, text annotation tool for machine learning practitioners'
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 = [
'apache-libcloud>=3.2.0',
'colour>=0.1.5',
'conllu>=4.2.2',
'dj-database-url>=0.5.0',
'django-cors-headers>=3.5.0',
'django-filter>=2.4.0',
'django-rest-polymorphic>=0.1.9',
'djangorestframework-csv>=2.1.0',
'djangorestframework-xml>=2.0.0',
'drf-yasg>=1.20.0',
'environs>=9.2.0',
'furl>=2.1.0',
'pyexcel>=0.6.6',
'pyexcel-xlsx>=0.6.0',
'python-jose>=3.2.0',
'seqeval>=1.2.2',
'social-auth-app-django>=4.0.0',
'whitenoise>=5.2.0',
'auto-labeling-pipeline>=0.1.12',
'celery>=5.0.5',
'dj-rest-auth>=2.1.4',
'django-celery-results>=2.0.1',
'django-drf-filepond>=0.3.0',
'sqlalchemy>=1.4.7',
'gunicorn>=20.1.0',
'waitress>=2.0.0',
'pydantic>=1.8.2',
'chardet>=4.0.0',
'django-health-check'
]
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 = backend.cli:main'
]
},
install_requires=required,
extras_require={
'postgresql': ['psycopg2-binary>=2.8.6'],
'mssql': ['django-mssql-backend>=2.8.1'],
},
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'
],
)
Loading…
Cancel
Save