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
|
import os, sys
from setuptools import setup, find_packages
sys.path.append(os.path.abspath("src"))
from stdio_mgr import __version__
sys.path.pop()
def readme():
with open("README.rst", "r") as f:
return f.read()
setup(
name="stdio-mgr",
version=__version__,
packages=find_packages("src"),
package_dir={"": "src"},
provides=["stdio_mgr"],
requires=["attrs (>=17.1)"],
install_requires=["attrs>=17.1"],
python_requires=">=3",
url="https://www.github.com/bskinn/stdio-mgr",
license="MIT License",
author="Brian Skinn",
author_email="bskinn@alum.mit.edu",
description="Context manager for mocking/wrapping stdin/stdout/stderr",
long_description=readme(),
classifiers=[
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
"Development Status :: 5 - Production/Stable",
],
)
|