-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (40 loc) · 1.33 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
"""
Setup script for the gettext-cloud-translator package.
This script is used to install the package and its dependencies.
"""
from setuptools import find_packages, setup
from gettext_cloud_translator.version import __version__
# Read the contents of README file
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
setup(
name='gettext-cloud-translator',
version=__version__,
author='Rodolfo Gonzalez',
author_email='rodolfo.gonzalez@gmail.com',
description='A CLI tool for translating .po files using cloud services.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/rgglez/gettext-cloud-translator',
license='LICENSE',
packages=find_packages(),
include_package_data=True,
install_requires=[
'polib',
'openai',
'python-dotenv'
# Add other dependencies from requirements.txt
],
entry_points={
'console_scripts': [
'gettext-cloud-translator=gettext_cloud_translator.cloud_translator:main',
],
},
classifiers=[
# Choose your license as you wish
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
# Add additional classifiers as needed
],
)