from setuptools import setup, find_packages
import os

version = '1.0.1'

entry_points = {
    'openprocurement.api.plugins': [
        'planning = openprocurement.planning.api:includeme'
    ]
}

setup(name='openprocurement.planning.api',
      version=version,
      description="",
      long_description=open("README.rst").read() + "\n" +
                       open(os.path.join("docs", "HISTORY.txt")).read(),
      classifiers=[
        "Programming Language :: Python",
        ],
      keywords='',
      author='Quintagroup, Ltd.',
      author_email='info@quintagroup.com',
      license='Apache License 2.0',
      url='https://github.com/gorserg/openprocurement.planning.api',
      packages=find_packages(exclude=['ez_setup']),
      namespace_packages=['openprocurement', 'openprocurement.planning'],
      include_package_data=True,
      zip_safe=False,
      install_requires=[
          'setuptools',
          'openprocurement.api',
      ],
      entry_points=entry_points,
      )

@@ -67,16 +67,218 @@
 1.0.1'%0A%0A
+requires = %5B%0A    'setuptools',%0A    'openprocurement.api%3E=0.12b2',%0A%5D%0Atest_requires = requires + %5B%0A    'webtest',%0A    'python-coveralls',%0A%5D%0Adocs_requires = requires + %5B%0A    'sphinxcontrib-httpdomain',%0A%5D%0A%0A
 entry_po
@@ -1093,74 +1093,186 @@
 res=
-%5B%0A          'setuptools',%0A          'openprocurement.api',%0A      %5D
+requires,%0A      tests_require=test_requires,%0A      extras_require=%7B'test': test_requires, 'docs': docs_requires%7D,%0A      test_suite=%22openprocurement.planning.api.tests.main.suite%22
 ,%0A  

change setup.py