Skip to content
Snippets Groups Projects
Commit daa03d0e authored by Guillaume Bernard's avatar Guillaume Bernard
Browse files

chore: prepare for packaging

parent 7ced74e1
No related branches found
Tags v1.0
No related merge requests found
*.egg-info
dist
include requirements.txt
#!/usr/bin/env python3
#
# This file is part of the news_clustering_in_multiple_languages project.
# This file is part of the document_processing project.
#
# Copyright (c) 2021 Guillaume Bernard <contact@guillaume-bernard.fr>
# Copyright (c) 2021 − Present Guillaume Bernard <contact@guillaume-bernard.fr>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......@@ -25,6 +25,7 @@ import spacy
from pandas import Series
from spacy.tokens import Doc
unicode_punctuation_table = str.maketrans("", "", string.punctuation)
......
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"
\ No newline at end of file
[metadata]
description-file = README.md
name = document_processing
version = 1.0
author = Guillaume Bernard
author_email = contact@guillaume-bernard.fr
description = Pre-process documents for Natural Language Processing using spaCy models
long_description = file:README.md
long_description_content_type = text/markdown
license = GPLv3
url = https://gitlab.univ-lr.fr/cross-lingual-event-tracking/developpement/from-documents-to-events/document_processing
project_urls =
Bug Tracker = https://gitlab.univ-lr.fr/cross-lingual-event-tracking/developpement/from-documents-to-events/document_processing/-/issues
classifiers =
Programming Language :: Python :: 3.9
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Operating System :: POSIX :: Linux
Topic :: Scientific/Engineering :: Artificial Intelligence
Intended Audience :: Science/Research
[options]
python_requires = >=3.9
......@@ -26,31 +26,18 @@ def get_requirements() -> List[str]:
return req
exec(open("document_tracking/__init__.py").read())
__version_info__ = {
"number": {
"major": "1",
"minor": "0",
"revision": "0",
}
}
# noinspection PyUnresolvedReferences
setup(
name="document_processing",
version=__version__,
version=(
".".join(list(__version_info__.get("number").values())) + f".dev{datetime.utcnow().strftime('%Y%m%d%H%M')}"
),
packages=find_packages(),
include_package_data=True,
license="GPLv3",
description="Pre-process documents for NLP using spaCy models",
long_description=README,
long_description_content_type="text/markdown",
url="https://gitlab.univ-lr.fr/cross-lingual-event-tracking/developpement/document_processing",
author="Guillaume Bernard",
author_email="contact@guillaume-bernard.fr",
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Topic :: Scientific/Engineering :: Information Analysis",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
install_requires=get_requirements(),
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment