1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-15 04:00:11 +01:00
LibreTranslate/setup.py

39 lines
1.4 KiB
Python
Raw Normal View History

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
2021-10-26 21:32:06 +02:00
version=open('VERSION').read().strip(),
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',
url='https://libretranslate.com',
packages=find_packages(),
# packages=find_packages(include=['openpredict']),
# package_dir={'openpredict': 'openpredict'},
2023-01-06 20:17:11 +01:00
package_data={'': ['static/*', 'static/**/*', 'templates/*', 'locales/**/meta.json', 'locales/**/**/*.mo']},
include_package_data=True,
entry_points={
'console_scripts': [
'libretranslate=libretranslate.main:main',
'ltmanage=libretranslate.manage:manage'
],
},
2023-01-12 14:44:46 +01:00
python_requires='>=3.8.0',
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
install_requires=open("requirements.txt", "r").readlines(),
2023-01-12 14:50:38 +01:00
tests_require=['pytest==7.2.0'],
setup_requires=['pytest-runner'],
classifiers=[
2021-02-09 14:46:11 +01:00
"License :: OSI Approved :: GNU Affero General Public License v3 ",
"Programming Language :: Python :: 3",
2022-02-07 11:15:52 +01:00
"Programming Language :: Python :: 3.8",
2022-05-03 11:09:55 +02:00
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10"
]
)