-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (51 loc) · 1.6 KB
/
setup.py
File metadata and controls
59 lines (51 loc) · 1.6 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
from setuptools import setup, find_packages
from platform import system
from setuptools.command.develop import develop
from setuptools.command.install import install
from subprocess import check_call
class PostDevelopCommand(develop):
"""Post-installation for development mode."""
def run(self):
check_call("pip install pywin32")
develop.run(self)
class PostInstallCommand(install):
"""Post-installation for installation mode."""
def run(self):
check_call("pip install pywin32")
install.run(self)
_system = system()
install_requires = []
if _system == 'Windows':
install_requires += [
#'pywin32'
]
__doc__ = 'Library to provide speech and braille output to a variety of different screen readers and other accessibility solutions.',
with open('readme.md') as readme:
long_description = readme.read()
setup(
name = 'accessible_output2',
url = 'https://github.com/frastlin/accessible_output2',
author = 'Tyler Spivey',
author_email = 'tspivey@pcdesk.net',
version='0.12',
description = __doc__,
long_description = long_description,
package_dir = {'accessible_output2': 'accessible_output2'},
packages = find_packages(),
package_data = {"accessible_output2": ["lib/*"]},
zip_safe = False,
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'License :: OSI Approved :: MIT License',
'Topic :: Adaptive Technologies',
'Topic :: Software Development :: Libraries'
],
install_requires = install_requires,
cmdclass={
'develop': PostDevelopCommand,
'install': PostInstallCommand,
},
)