2021-02-09 01:24:34 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
|
|
setup(
|
2021-09-14 02:55:58 +02:00
|
|
|
version='1.2.4',
|
2021-02-09 01:24:34 +01:00
|
|
|
name='libretranslate',
|
|
|
|
license='GNU Affero General Public License v3.0',
|
2021-02-09 21:20:46 +01:00
|
|
|
description='Free and Open Source Machine Translation API. Self-hosted, no limits, no ties to proprietary services.',
|
|
|
|
author='LibreTranslate Authors',
|
|
|
|
author_email='pt@uav4geo.com',
|
2021-02-09 01:24:34 +01:00
|
|
|
url='https://libretranslate.com',
|
|
|
|
packages=find_packages(),
|
|
|
|
# packages=find_packages(include=['openpredict']),
|
|
|
|
# package_dir={'openpredict': 'openpredict'},
|
2021-02-18 19:44:26 +01:00
|
|
|
package_data={'': ['static/*', 'static/**/*', 'templates/*']},
|
2021-02-09 01:24:34 +01:00
|
|
|
include_package_data=True,
|
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
|
|
|
'libretranslate=app.main:main',
|
2021-02-15 19:30:28 +01:00
|
|
|
'ltmanage=app.manage:manage'
|
2021-02-09 01:24:34 +01:00
|
|
|
],
|
|
|
|
},
|
|
|
|
|
|
|
|
python_requires='>=3.6.0',
|
|
|
|
long_description=open('README.md').read(),
|
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
install_requires=open("requirements.txt", "r").readlines(),
|
|
|
|
tests_require=['pytest==5.2.0'],
|
|
|
|
setup_requires=['pytest-runner'],
|
|
|
|
classifiers=[
|
2021-02-09 14:46:11 +01:00
|
|
|
"License :: OSI Approved :: GNU Affero General Public License v3 ",
|
2021-02-09 01:24:34 +01:00
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.6",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
"Programming Language :: Python :: 3.8"
|
|
|
|
]
|
|
|
|
)
|