diff options
author | Thomas Kluyver <takowl@gmail.com> | 2016-02-02 16:10:35 +0000 |
---|---|---|
committer | Thomas Kluyver <takowl@gmail.com> | 2016-02-02 16:10:35 +0000 |
commit | 34a41dd6a94334485be31825771285f348f4e756 (patch) | |
tree | 8f54ff35ed198d46680d4c6f290c6974e09b3a43 | |
parent | 6251989ded4954d215496c5fc38b471298b30cb8 (diff) | |
parent | 38a36b6e0638628f86ecaa7a0d264ae5b6e8da32 (diff) | |
download | ptyprocess-34a41dd6a94334485be31825771285f348f4e756.tar.gz |
Merge pull request #29 from takluyver/flit
Flit packaging
-rw-r--r-- | MANIFEST.in | 3 | ||||
-rw-r--r-- | flit.ini | 17 | ||||
-rw-r--r-- | ptyprocess/__init__.py | 1 | ||||
-rw-r--r-- | setup.py | 33 |
4 files changed, 18 insertions, 36 deletions
diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 5b819dd..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,3 +0,0 @@ -include README.rst -graft tests -global-exclude __pycache__ *.pyc diff --git a/flit.ini b/flit.ini new file mode 100644 index 0000000..27928ca --- /dev/null +++ b/flit.ini @@ -0,0 +1,17 @@ +[metadata] +module = ptyprocess +author = Thomas Kluyver +author-email = thomas@kluyver.me.uk +home-page = https://github.com/pexpect/ptyprocess +description-file = README.rst +classifiers = Development Status :: 5 - Production/Stable + Environment :: Console + Intended Audience :: Developers + Intended Audience :: System Administrators + License :: OSI Approved :: ISC License (ISCL) + Operating System :: POSIX + Operating System :: MacOS :: MacOS X + Programming Language :: Python + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3 + Topic :: Terminals diff --git a/ptyprocess/__init__.py b/ptyprocess/__init__.py index 182fbfd..868bdc3 100644 --- a/ptyprocess/__init__.py +++ b/ptyprocess/__init__.py @@ -1,3 +1,4 @@ +"""Run a subprocess in a pseudo terminal""" from .ptyprocess import PtyProcess, PtyProcessUnicode, PtyProcessError __version__ = '0.5' diff --git a/setup.py b/setup.py deleted file mode 100644 index a7d93a5..0000000 --- a/setup.py +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env python - -import sys -from distutils.core import setup - -with open('README.rst') as f: - readme = f.read() - -assert sys.version_info >= (2, 7), ( - "Only python 2.7 and later is supported by ptyprocess.") - -setup(name='ptyprocess', - version='0.5', - description="Run a subprocess in a pseudo terminal", - long_description=readme, - author='Thomas Kluyver', - author_email="thomas@kluyver.me.uk", - url="https://github.com/pexpect/ptyprocess", - packages=['ptyprocess'], - classifiers = [ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Console', - 'Intended Audience :: Developers', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: ISC License (ISCL)', - 'Operating System :: POSIX', - 'Operating System :: MacOS :: MacOS X', - 'Programming Language :: Python', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3', - 'Topic :: Terminals', - ], -) |