Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

60 lines (49 sloc) 1.818 kb
import sys
try:
from setuptools import setup
# ctypes library is part of standard library since Python 2.5.
if sys.version_info < (2, 5):
install_requires = ['ctypes']
else:
install_requires = []
args = dict(
entry_points = {'console_scripts': ['pythoscope = pythoscope:main']},
install_requires = install_requires,
test_suite = 'nose.collector',
tests_require = ['nose', 'mock', 'docutils'])
except ImportError:
from distutils.core import setup
args = dict(scripts = ['scripts/pythoscope'])
# The C module doesn't need to be built for Python 2.5 and higher.
if sys.version_info < (2, 5):
from distutils.core import Extension
ext_modules = [Extension('pythoscope._util', sources=['pythoscope/_util.c'])]
else:
ext_modules = []
from pythoscope import __version__ as VERSION
setup(
name='pythoscope',
version=VERSION,
author = 'Michal Kwiatkowski',
author_email = 'constant.beta@gmail.com',
description = 'unit test generator for Python',
long_description = open("README").read() + "\n" + open("Changelog").read(),
license = 'MIT',
url = 'http://pythoscope.org',
ext_modules = ext_modules,
packages = ['pythoscope', 'pythoscope.inspector', 'pythoscope.generator',
'bytecode_tracer',
'lib2to3', 'lib2to3.pgen2'],
package_data = {'pythoscope': [],
'bytecode_tracer': [],
'lib2to3': ['*.txt']},
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Topic :: Software Development :: Code Generators',
'Topic :: Software Development :: Testing',
],
**args
)
Jump to Line
Something went wrong with that request. Please try again.