Skip to content

Commit 2adcb60

Browse files
authored
Fix wheel when built on macos / windows (#89)
- the platform specific dependencies are already handled by `extras_require` - when the wheel is built on macos / windows the `install_requires` will contain extra values (it appears the one on pypi for the latest version was built on macos)
1 parent f9c9dcf commit 2adcb60

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

setup.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,6 @@
1212
}
1313

1414
# Ubuntu: sudo apt install espeak ffmpeg
15-
install_requires = []
16-
if platform.system() == 'Windows':
17-
install_requires += [
18-
'comtypes'
19-
]
20-
elif platform.system() == 'Darwin':
21-
install_requires += [
22-
'pyobjc>=2.4'
23-
]
24-
2515

2616
with open('README.rst', 'r') as f:
2717
long_description = f.read()
@@ -37,7 +27,6 @@
3727
author='Natesh M Bhat',
3828
url='https://github.com/nateshmbhat/pyttsx3',
3929
author_email='[email protected]',
40-
install_requires=install_requires ,
4130
keywords=['pyttsx' , 'ivona','pyttsx for python3' , 'TTS for python3' , 'pyttsx3' ,'text to speech for python','tts','text to speech','speech','speech synthesis','offline text to speech','offline tts','gtts'],
4231
classifiers = [
4332
'Intended Audience :: End Users/Desktop',

0 commit comments

Comments
 (0)