#!python

# This is a fancy installer that will download some missing packages.
# It's pretty good, so long as you have setuptools in your python distribution.

_imported = False
try:
	from setuptools import setup
	_imported = True
	pass
except ImportError:
	pass

#If it doesn't work, you can try the line below.   This uses the
# easy_setup.py script to download and install setuptools.
if not _imported:
	print "EZ_setup"
	try:
		from ez_setup import use_setuptools
		use_setuptools()
		from setuptools import setup
		_imported = True
		pass
	except ImportError:
		pass

# Finally, use distutils.   That should work, but you'll have to download
# all the required packages by hand.
if not _imported:
	from distutils.core import setup


setup(name = "collect", version = "0.20.2",
	description = "Collect experimental data",
	author = "Greg Kochanski, Anastassia Loukina",
	url = "http://kochanski.org/gpk",
	author_email = "gpk@kochanski.org",
	# packages = ['select_paragraphs'],
	# package_dir = {'select_paragraphs': 'lib'},
	py_modules = ['exp_collection'],
	scripts = ['bin/collect_aesop1.py'],
	install_requires = [
				'gmisclib >= 0.69.0',
				# pygtk
			],
	extras_require = {},
	dependency_links = [],
	license = 'GPL2',
	keywords = "phonetics speech data collection computational linguistics basic library python science",
	platforms = "All",
	classifiers = [
		'License :: OSI Approved :: GNU General Public License (GPL)',
		'Operating System :: OS Independent',
		'Development Status :: 3 - Alpha',
		'Topic :: Scientific/Engineering',
		'Intended Audience :: Science/Research',
		'Programming Language :: Python',
		# X11
		'Operating System :: OS Independent',
		'Programming Language :: Python',
		],
	long_description = """Paragraph properties.  Read the paper."""
	)

