import os

from setuptools import setup, find_packages


README = os.path.join(os.path.dirname(__file__), 'README.md')
setup(
    name='pagrant',
    version='1.0',
    url='https://github.com/markshao/pagrant',
    license='MIT',
    author='markshao, yilan',
    author_email='mark.shao@emc.com',
    description=('a automatic test framwork', "from IIG EMC Inc"),
    long_description=open(README).read() + "\n\n",
    classifiers=[
        "Programming Language :: Python",
        "Topic :: Software Developement :: Libraries :: Python Modules",
    ],
    keywords='framework nose testing',
    packages=find_packages(),
    package_data={'': ['*.*'], },
    namespace_packages=['pagrant'],
    install_requires=['Fabric>=1.8.0',
                      'esdsa>=0.10',
                      'nose>=1.3.0',
                      'paramiko>=1.12.0',
                      'pycrypto>=2.6.1',
                      'wsgiref>=0.1.2',
    ],
)
@@ -112,16 +112,176 @@
 ME.md')%0A
+REQUIREMENT = os.path.join(os.path.dirname(__file__), 'requirements.txt')%0A%0Arequirement_components = filter(lambda x:x!='',open(REQUIREMENT).read().split(%22%5Cn%22))%0A
 setup(%0A 
@@ -384,16 +384,16 @@
 ='MIT',%0A
+
     auth
@@ -405,17 +405,16 @@
 arkshao,
- 
 yilan',%0A
@@ -873,227 +873,29 @@
 res=
-%5B'Fabric%3E=1.8.0',%0A                      'esdsa%3E=0.10',%0A                      'nose%3E=1.3.0',%0A                      'paramiko%3E=1.12.0',%0A                      'pycrypto%3E=2.6.1',%0A                      'wsgiref%3E=0.1.2',%0A    %5D
+requirement_components
 ,%0A)

update the requirement format