-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
68 lines (58 loc) · 2.48 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/usr/bin/env python
# Copyright 2019 - 2023 Avram Lubkin, All Rights Reserved
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
"""
Jinxed Terminal Library
Jinxed is an implementation of a subset of the Python curses library for Windows
Other libraries implement the full curses stack. Jinxed is intended primarily for libraries
that need to access terminfo functions such as tigetstr() and tparm().
"""
import os
from setuptools import setup, find_packages
from setup_helpers import get_version, readme
# Require ansicon for Windows versions older than 10.0.10586
# No way to say that with PEP 508
INSTALL_REQUIRES = ['ansicon; platform_system == "Windows"']
TESTS_REQUIRE = ['mock; python_version < "3.3"']
setup(
name='jinxed',
version=get_version(os.path.join('jinxed', '__init__.py')),
description="Jinxed Terminal Library",
long_description=readme('README.rst'),
author='Avram Lubkin',
author_email='[email protected]',
maintainer='Avram Lubkin',
maintainer_email='[email protected]',
url='https://github.com/Rockhopper-Technologies/jinxed',
license='MPLv2.0',
zip_safe=False,
install_requires=INSTALL_REQUIRES,
tests_require=TESTS_REQUIRE,
packages=find_packages(exclude=['tests', 'tests.*', 'examples']),
test_suite='tests',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Terminals',
],
keywords='terminal console blessed curses',
)