-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
53 lines (48 loc) · 2.1 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
#!/usr/bin/env python
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info < (2, 6):
raise NotImplementedError("Sorry, you need at least Python 2.6 or Python 3.2+ to use py-term.")
import term
with open('README.md', 'r') as f:
longDesc = f.read()
setup(name='py-term',
version=term.__version__,
description='Python module to style terminal output, moving and positioning the cursor.',
long_description=longDesc,
long_description_content_type='text/markdown',
author='Rene Tanczos',
author_email='[email protected]',
url='https://github.com/gravmatt/py-term',
py_modules=['term'],
scripts=['term.py'],
license='MIT',
platforms=['MacOSX', 'UNIX/Linux'],
classifiers=['Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'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',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Development Status :: 5 - Production/Stable',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Topic :: Terminals',
'Environment :: Console'
],
)