-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
49 lines (41 loc) · 1.51 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
43
44
45
46
47
48
49
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
__version__ = '0.4.2'
long_description = open('README.md', encoding='utf-8').read()
with open('requirements.txt', encoding='utf-8') as f:
requirements = [l for l in f.read().splitlines() if l]
with open('dev-requirements.txt', encoding='utf-8') as f:
test_requirements = [l for l in f.read().splitlines() if l][1:]
setup(
name='langml',
version=__version__,
description='A Keras-based and TensorFlow-backend language model toolkit.',
long_description=long_description,
long_description_content_type='text/markdown',
author='seanlee',
author_email='xmlee97@gmail.com',
platforms=['all'],
url='https://github.com/4AI/langml',
packages=find_packages(exclude=('tests', 'tests.*')),
classifiers=[
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Text Processing',
'Topic :: Text Processing :: Indexing',
'Topic :: Text Processing :: Linguistic',
],
entry_points={
'console_scripts': [
'langml-cli = langml.cli:main',
],
},
install_requires=requirements,
tests_require=test_requirements,
include_package_data=True,
)