@@ -0,0 +1,2006 @@
+from __future__ import print_function%0Afrom setuptools import setup, find_packages%0Afrom setuptools.command.test import test as TestCommand%0Aimport io%0Aimport codecs%0Aimport os%0Aimport sys%0A%0Aimport scrying%0A%0Ahere = os.path.abspath(os.path.dirname(__file__))%0A%0A%0Adef read(*filenames, **kwargs):%0A    encoding = kwargs.get('encoding', 'utf-8')%0A    sep = kwargs.get('sep', '%5Cn')%0A    buf = %5B%5D%0A    for filename in filenames:%0A        with io.open(filename, encoding=encoding) as f:%0A            buf.append(f.read())%0A    return sep.join(buf)%0A%0Along_description = read('README.txt', 'CHANGES.txt')%0A%0A%0Aclass PyTest(TestCommand):%0A    def finalize_options(self):%0A        TestCommand.finalize_options(self)%0A        self.test_args = %5B%5D%0A        self.test_suite = True%0A%0A    def run_tests(self):%0A        import pytest%0A        errcode = pytest.main(self.test_args)%0A        sys.exit(errcode)%0A%0Asetup(%0A    name='scrying',%0A    version=scrying.__version__,%0A    url='https://github.com/wodiesan/senior_design_spring',%0A    license='The MIT License',%0A    author='Sze Ron Chau',%0A    tests_require=%5B'pytest'%5D,%0A    install_requires=%5B'OpenCV%3E=3.0',%0A                      'libavcodec%3E=56.1.0',%0A                      'libx264',%0A                      'libGTK%3E=2.0-dev',%0A                      %5D,%0A    cmdclass=%7B'test': PyTest%7D,%0A    author_email='wodiesan@gmail.com',%0A    description='Computer vision system for the Raspberry Pi 2.',%0A    long_description=long_description,%0A    packages=%5B'scrying'%5D,%0A    include_package_data=True,%0A    platforms='any',%0A    test_suite='scrying.test.test_scrying',%0A    classifiers=%5B%0A        'Programming Language :: Python :: 2.7',%0A        'Development Status :: 1 - Pre-Alpha',%0A        'Natural Language :: English',%0A        'Environment :: Console',%0A        'Intended Audience :: Education',%0A        'License :: OSI Approved :: The MIT License',%0A        'Operating System :: POSIX :: Linux',%0A        'Topic :: Scientific/Engineering :: Visualization',%0A        %5D,%0A    extras_require=%7B%0A        'testing': %5B'pytest'%5D,%0A    %7D%0A)%0A

Create setup.py