from distutils.core import setup

requirements = []

with open('requirements.txt', 'r') as f:
    for line in f:
        requirements.append(str(line.strip()))

setup(
    name='pp_api',
    version='0.1dev',
    packages=['pp_api', 'pp_api.server_data'],
    license='MIT',
    requires=requirements
)
from distutils.core import setup

setup(
    name='pp_api',
    version='0.1dev',
    packages=['pp_api', 'pp_api.server_data'],
    license='MIT',
    requires=open('requirements.txt', 'r').read().split()
)
Revert "Fixed reading of requirements from the file"
Revert "Fixed reading of requirements from the file"

This reverts commit 29be75d

  from distutils.core import setup
- 
- requirements = []
- 
- with open('requirements.txt', 'r') as f:
-     for line in f:
-         requirements.append(str(line.strip()))
  
  setup(
      name='pp_api',
      version='0.1dev',
      packages=['pp_api', 'pp_api.server_data'],
      license='MIT',
-     requires=requirements
+     requires=open('requirements.txt', 'r').read().split()
  )
Revert "Fixed reading of requirements from the file"
## Code Before:
from distutils.core import setup

requirements = []

with open('requirements.txt', 'r') as f:
    for line in f:
        requirements.append(str(line.strip()))

setup(
    name='pp_api',
    version='0.1dev',
    packages=['pp_api', 'pp_api.server_data'],
    license='MIT',
    requires=requirements
)
## Instruction:
Revert "Fixed reading of requirements from the file"
## Code After:
from distutils.core import setup

setup(
    name='pp_api',
    version='0.1dev',
    packages=['pp_api', 'pp_api.server_data'],
    license='MIT',
    requires=open('requirements.txt', 'r').read().split()
)