@@ -0,0 +1,2362 @@
+#!/usr/bin/env python%0A%0Aimport subprocess%0Aimport sys%0A%0Atry:%0A    from setuptools import setup%0A    from setuptools.command.test import test as TestCommand%0A%0A    class PyTest(TestCommand):%0A        extra_kwargs = %7B'tests_require': %5B'pytest', 'mock'%5D%7D%0A%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            sys.exit(pytest.main(self.test_args))%0A%0Aexcept ImportError:%0A    from distutils.core import setup, Command%0A%0A    class PyTest(Command):%0A        extra_kwargs = %7B%7D%0A        user_options = %5B%5D%0A%0A        def initialize_options(self):%0A            pass%0A%0A        def finalize_options(self):%0A            pass%0A%0A        def run(self):%0A            raise SystemExit(subprocess.call(%5Bsys.executable, 'runtests.py'%5D))%0A%0Atry:%0A   import pypandoc%0A   readme = pypandoc.convert('README.md', 'rst')%0Aexcept (IOError, ImportError, OSError, RuntimeError):%0A   readme = ''%0A%0Asetup(name='hug',%0A      version='0.0.1',%0A      description='A Python framework that makes developing APIs as simple as possible, but no simpler.',%0A      long_description=readme,%0A      author='Timothy Crosley',%0A      author_email='timothy.crosley@gmail.com',%0A      url='https://github.com/timothycrosley/hug',%0A      license=%22MIT%22,%0A      entry_points=%7B%0A        'console_scripts': %5B%0A            'hug = hug:run',%0A        %5D%0A      %7D,%0A      packages=%5B'hug'%5D,%0A      requires=%5B%5D,%0A      install_requires=%5B%5D,%0A      cmdclass=%7B'test': PyTest%7D,%0A      keywords='Web, Python, Python3, Refactoring, REST, Framework, RPC',%0A      classifiers=%5B'Development Status :: 6 - Mature',%0A                   'Intended Audience :: Developers',%0A                   'Natural Language :: English',%0A                   'Environment :: Console',%0A                   'License :: OSI Approved :: MIT License',%0A                   'Programming Language :: Python',%0A                   'Programming Language :: Python :: 3',%0A                   'Programming Language :: Python :: 3.2',%0A                   'Programming Language :: Python :: 3.3',%0A                   'Programming Language :: Python :: 3.4',%0A                   'Programming Language :: Python :: 3.5',%0A                   'Topic :: Software Development :: Libraries',%0A                   'Topic :: Utilities'%5D,%0A      **PyTest.extra_kwargs)%0A

Add initial setup.py file