Skip to content

Commit ba739c2

Browse files
Merge pull request #22 from pescheckit/hotfix_fixed-issue-with-requirements
Fixed issue with requirements
2 parents 30bb5c2 + 642f9eb commit ba739c2

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

setup.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
with open('README.md', encoding='utf-8') as f:
99
long_description = f.read()
1010

11+
with open('requirements.txt', encoding='utf-8') as f:
12+
install_requires = [line.strip() for line in f if line.strip() and not line.startswith('#')]
13+
1114
setup(
1215
name='gpt-po-translator',
1316
use_scm_version=True,
@@ -21,13 +24,7 @@
2124
license='MIT',
2225
packages=find_packages(),
2326
include_package_data=True,
24-
install_requires=[
25-
'polib==1.2.0',
26-
'openai==1.58.1',
27-
'python-dotenv==1.0.0',
28-
'tenacity==9.0.0',
29-
'pycountry==24.6.1'
30-
],
27+
install_requires=install_requires,
3128
entry_points={
3229
'console_scripts': [
3330
'gpt-po-translator=python_gpt_po.po_translator:main',

0 commit comments

Comments
 (0)