#!/usr/bin/env python
# -*- coding: utf8 - *-
"""cihai lives at <https://github.com/tony/cihai>.

cihai
~~~~~

Unihan abstraction layer.

"""
import os
import sys
from setuptools import setup


with open('requirements.pip') as f:
    install_reqs = [line for line in f.read().split('\n') if line]
    tests_reqs = []

if sys.version_info < (2, 7):
    install_reqs += ['argparse']
    tests_reqs += ['unittest2']

import re
VERSIONFILE = "cihai/__init__.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
    __version__ = mo.group(1)
else:
    raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))

setup(
    name='cihai',
    version=__version__,
    url='https://github.com/tony/cihai',
    download_url='https://pypi.python.org/pypi/cihai',
    license='BSD',
    author='Tony Narlock',
    author_email='tony@git-pull.com',
    description='China fit into a python package.',
    long_description=open('README.rst').read(),
    include_package_data=True,
    install_requires=install_reqs,
    tests_require=tests_reqs,
    test_suite='cihai.testsuite',
    zip_safe=False,
    packages=[
        'cihai', 'cihai.testsuite', 'cihai.datasets',
        'cihai._vendor', 'cihai._vendor.colorama'
    ],
    package_data={
        'cihai': ['data/*']
    },
    entry_points=dict(console_scripts=['cihai=cihai.__main__:run']),
    classifiers=[
        'Development Status :: 3 - Alpha',
        "License :: OSI Approved :: BSD License",
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        "Topic :: Utilities",
        "Topic :: System :: Shells",
    ],
)

@@ -184,16 +184,31 @@
 rt setup
+, find_packages
 %0A%0A%0Awith 
@@ -1197,24 +1197,26 @@
 e=False,%0A   
+ #
  packages=%5B%0A
@@ -1214,32 +1214,34 @@
 ckages=%5B%0A       
+ #
  'cihai', 'cihai
@@ -1274,24 +1274,26 @@
 ts',%0A       
+ #
  'cihai._ven
@@ -1327,17 +1327,64 @@
 ma'%0A    
-%5D
+# %5D,%0A    packages=find_packages(exclude=%5B%22doc%22%5D)
 ,%0A    pa

Use find_packages setup.py