-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.py
42 lines (37 loc) · 1.5 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('lbl2vec/_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='lbl2vec',
version=main_ns['__version__'],
url='https://github.com/sebischair/Lbl2Vec',
license='BSD 3-Clause "New" or "Revised" License',
author='Tim Schopf',
author_email='[email protected]',
description='Lbl2Vec learns jointly embedded label, document and word vectors to retrieve documents with predefined topics from an unlabeled document corpus.',
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.8',
data_files=[('requirements', ['requirements.txt'])],
)