forked from SekouDiaoNlp/pylexique
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
82 lines (74 loc) · 2.67 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
try:
with open('requirements.txt') as f:
requirements = f.read().splitlines()
except FileNotFoundError:
requirements = ['joblib', 'colorama', 'tqdm', 'pyxlsb', "dataclasses>=0.6; python_version < '3.7'",
'Click>=8.0.3', 'pandas']
setup_requirements = ['pytest-runner', ]
try:
with open('requirements_dev.txt') as f:
test_requirements = f.read().splitlines()
except FileNotFoundError:
test_requirements = [
'pytest-runner',
'pytest',
'pytest-cov',
"dataclasses>=0.6; python_version < '3.7'",
'Click>=8.0.3',
]
setup(
author="SekouDiaoNlp",
author_email='[email protected]',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Education',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Utilities',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Natural Language :: French',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
description="Pylexique is a Python wrapper around Lexique383",
entry_points={
'console_scripts': [
'pylexique=pylexique.cli:main',
],
},
install_requires=requirements,
license="MIT license",
long_description=readme + '\n\n' + history,
include_package_data=True,
package_data={'documentation': ['docs/*'],
'tests': ['tests/*'],
'translations': ['pylexique/locale/*'],
'type_stubs': ['pylexique/py.typed', 'pylexique/*'],
'pylexique383': ['pylexique/Lexique383/*']},
keywords='pylexique',
name='pylexique',
packages=find_packages(include=['pylexique']),
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/SekouDiaoNlp/pylexique',
version='1.5.0',
zip_safe=False,
)