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
|
import os
import sys
import pbs
try: from distutils.core import setup
except ImportError: from setuptools import setup
if sys.argv[-1] == "test":
os.system("python test.py")
sys.exit()
setup(
name="pbs",
version=pbs.__version__,
description="Python subprocess wrapper",
author="Andrew Moffat",
author_email="andrew.robert.moffat@gmail.com",
url="https://github.com/amoffat/pbs",
license="MIT",
py_modules=["pbs"],
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
|