prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Hello-world install question
  ## Steps to reproduce
  
  Install nevergrad
  
  ```
  pip3 install -e git+git@github.com:facebookresearch/nevergrad@master#egg=nevergrad
  Obtaining nevergrad from git+git@github.com:facebookresearch/nevergrad@master#egg=nevergrad
    Cloning git@github.com:facebookresearch/nevergrad (to revision master) to ./src/nevergrad
  Warning: Permanently added the RSA host key for IP address '192.30.255.112' to the list of known hosts.
  git@github.com: Permission denied (publickey).
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
  Command "git clone -q git@github.com:facebookresearch/nevergrad /Users/ME/Documents/workspace/temp/src/nevergrad" failed with error code 128 in None
  ```
  
  ok.  trying git clone and `python3 setup.py install` method.  That seems to work.
  
  run the sample program:
  
  python3 mynevergrad.py
  
  ```
  from nevergrad.optimization import optimizerlib
  
  def square(x):
      return (x - .5)**2
  
  optimizer = optimizerlib.OnePlusOne(dimension=1, budget=100, num_workers=5)
  recommendation = optimizer.optimize(square, executor=None, batch_mode=True)
  ```
  
  
  ## Observed Results
  
  ```
  Traceback (most recent call last):
    File "mynevergrad.py", line 6, in <module>
      from nevergrad.optimization import optimizerlib
  ModuleNotFoundError: No module named 'nevergrad.optimization'
  ```
  
  
  ## Expected Results
  
  It should run the sample
  
  ## Relevant Code
  
  ```
  import pkg_resources
  for d in pkg_resources.working_set:
  	print(d)
  ```
  DOES include `nevergrad 0.1.0`
  
  
  This is very likely an install, python3, homebrew "installed in user directory", or paths issue, but given that `nevergrad 0.1.0` shows up in the list, it is odd...
  
  
  </issue>
  <code>
  [start of setup.py]
  1 #!/usr/bin/env python
  2 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  3 #
  4 # This source code is licensed under the MIT license found in the
  5 # LICENSE file in the root directory of this source tree.
  6 
  7 # from distutils.core import setup
  8 from setuptools import setup
  9 
  10 
  11 with open('requirements.txt') as f:
  12     requirements = f.read().splitlines()
  13 
  14 
  15 setup(name='nevergrad',
  16       version='0.1.0',
  17       description='Gradient-free optimization toolbox',
  18       author='Facebook AI Research',
  19       packages=['nevergrad'],
  20       install_requires=requirements,)
  21
  [end of setup.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -7,14 +7,22 @@
   # from distutils.core import setup
   from setuptools import setup
   
  -
   with open('requirements.txt') as f:
       requirements = f.read().splitlines()
   
  -
  -setup(name='nevergrad',
  -      version='0.1.0',
  -      description='Gradient-free optimization toolbox',
  -      author='Facebook AI Research',
  -      packages=['nevergrad'],
  -      install_requires=requirements,)
  +setup(
  +    name='nevergrad',
  +    version='0.1.0',
  +    description='Gradient-free optimization toolbox',
  +    author='Facebook AI Research',
  +    packages=[
  +        'nevergrad',
  +        'nevergrad.benchmark',
  +        'nevergrad.benchmark.additional',
  +        'nevergrad.common',
  +        'nevergrad.functions',
  +        'nevergrad.instrumentation',
  +        'nevergrad.optimization',
  +    ],
  +    install_requires=requirements,
  +)
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -7,14 +7,22 @@\n # from distutils.core import setup\n from setuptools import setup\n \n-\n with open('requirements.txt') as f:\n     requirements = f.read().splitlines()\n \n-\n-setup(name='nevergrad',\n-      version='0.1.0',\n-      description='Gradient-free optimization toolbox',\n-      author='Facebook AI Research',\n-      packages=['nevergrad'],\n-      install_requires=requirements,)\n+setup(\n+    name='nevergrad',\n+    version='0.1.0',\n+    description='Gradient-free optimization toolbox',\n+    author='Facebook AI Research',\n+    packages=[\n+        'nevergrad',\n+        'nevergrad.benchmark',\n+        'nevergrad.benchmark.additional',\n+        'nevergrad.common',\n+        'nevergrad.functions',\n+        'nevergrad.instrumentation',\n+        'nevergrad.optimization',\n+    ],\n+    install_requires=requirements,\n+)\n", "issue": "Hello-world install question\n## Steps to reproduce\r\n\r\nInstall nevergrad\r\n\r\n```\r\npip3 install -e git+git@github.com:facebookresearch/nevergrad@master#egg=nevergrad\r\nObtaining nevergrad from git+git@github.com:facebookresearch/nevergrad@master#egg=nevergrad\r\n  Cloning git@github.com:facebookresearch/nevergrad (to revision master) to ./src/nevergrad\r\nWarning: Permanently added the RSA host key for IP address '192.30.255.112' to the list of known hosts.\r\ngit@github.com: Permission denied (publickey).\r\nfatal: Could not read from remote repository.\r\n\r\nPlease make sure you have the correct access rights\r\nand the repository exists.\r\nCommand \"git clone -q git@github.com:facebookresearch/nevergrad /Users/ME/Documents/workspace/temp/src/nevergrad\" failed with error code 128 in None\r\n```\r\n\r\nok.  trying git clone and `python3 setup.py install` method.  That seems to work.\r\n\r\nrun the sample program:\r\n\r\npython3 mynevergrad.py\r\n\r\n```\r\nfrom nevergrad.optimization import optimizerlib\r\n\r\ndef square(x):\r\n    return (x - .5)**2\r\n\r\noptimizer = optimizerlib.OnePlusOne(dimension=1, budget=100, num_workers=5)\r\nrecommendation = optimizer.optimize(square, executor=None, batch_mode=True)\r\n```\r\n\r\n\r\n## Observed Results\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"mynevergrad.py\", line 6, in <module>\r\n    from nevergrad.optimization import optimizerlib\r\nModuleNotFoundError: No module named 'nevergrad.optimization'\r\n```\r\n\r\n\r\n## Expected Results\r\n\r\nIt should run the sample\r\n\r\n## Relevant Code\r\n\r\n```\r\nimport pkg_resources\r\nfor d in pkg_resources.working_set:\r\n\tprint(d)\r\n```\r\nDOES include `nevergrad 0.1.0`\r\n\r\n\r\nThis is very likely an install, python3, homebrew \"installed in user directory\", or paths issue, but given that `nevergrad 0.1.0` shows up in the list, it is odd...\r\n\n", "before_files": [{"content": "#!/usr/bin/env python\n# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.\n#\n# This source code is licensed under the MIT license found in the\n# LICENSE file in the root directory of this source tree.\n\n# from distutils.core import setup\nfrom setuptools import setup\n\n\nwith open('requirements.txt') as f:\n    requirements = f.read().splitlines()\n\n\nsetup(name='nevergrad',\n      version='0.1.0',\n      description='Gradient-free optimization toolbox',\n      author='Facebook AI Research',\n      packages=['nevergrad'],\n      install_requires=requirements,)\n", "path": "setup.py"}]}