-
Notifications
You must be signed in to change notification settings - Fork 34
/
setup.py
42 lines (37 loc) · 1.56 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
40
41
42
from distutils.util import convert_path
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
main_ns = {}
ver_path = convert_path('keyphrase_vectorizers/_version.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)
ver_path = convert_path('requirements.txt')
with open(ver_path) as ver_file:
base_packages = ver_file.read().splitlines()
setuptools.setup(
name='keyphrase-vectorizers',
version=main_ns['__version__'],
url='https://github.com/TimSchopf/KeyphraseVectorizers',
license='BSD 3-Clause "New" or "Revised" License',
author='Tim Schopf',
author_email='tim.schopf@t-online.de.de',
description='Set of vectorizers that extract keyphrases with part-of-speech patterns from a collection of text documents and convert them into a document-keyphrase matrix.',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
install_requires=base_packages,
package_dir={"": "."},
packages=setuptools.find_packages(where="."),
python_requires='>=3.7',
data_files=[('requirements', ['requirements.txt'])],
)