-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
24 lines (20 loc) · 1.26 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
import glob
from setuptools import setup
setup(
name='lplangid', # Required.
version='1.0.2', # Required. Use major.minor.dev format.
description='Language detection package using a Reciprocal Rank Classifier', # Required
long_description='This package is a python implementation of the classifier described in the paper '
'"Language Identification with a Reciprocal Rank Classifier" (https://arxiv.org/abs/2109.09862).',
long_description_content_type='text/x-rst',
packages=['lplangid', 'training'], # Note that 'experiments' is not included.
include_package_data=True,
data_files=[('lplangid/freq_data', glob.glob('lplangid/freq_data/*.csv')),
('lplangid/freq_data_bible', glob.glob('lplangid/freq_data_bible/*.csv'))],
# No new packages are needed for running lplangid - the below are useful for development.
# install_requires=['flake', 'pytest'], # List new package requirements here, but please be sure you need them!
url='https://github.com/dwiddows/lplangid', # Optional
author='Dominic Widdows, Chris Brew', # Optional
author_email='[email protected],[email protected]', # Optional
keywords='language detection, language classification, reciprocal rank classifier, lplangid'
)