from distutils.core import setup

setup(
    name = "linode-python",
    version = "1.1",
    description = "Python bindings for Linode API",
    author = "TJ Fontaine",
    author_email = "tjfontaine@gmail.com",
    url = "https://github.com/tjfontaine/linode-python",
    packages = ['linode'],
)

from distutils.core import setup

setup(
    name = "linode-python",
    version = "1.1",
    description = "Python bindings for Linode API",
    author = "TJ Fontaine",
    author_email = "tjfontaine@gmail.com",
    url = "https://github.com/tjfontaine/linode-python",
    packages = ['linode'],
    extras_require = {
        'requests': ["requests"],
    },
)

Add an extra_requires for requests
Add an extra_requires for requests

This will let folks do:

pip install linode-python[requests]

... to install requests alongside linode-python.

Fixes #23 comment 2

  from distutils.core import setup
  
  setup(
      name = "linode-python",
      version = "1.1",
      description = "Python bindings for Linode API",
      author = "TJ Fontaine",
      author_email = "tjfontaine@gmail.com",
      url = "https://github.com/tjfontaine/linode-python",
      packages = ['linode'],
+     extras_require = {
+         'requests': ["requests"],
+     },
  )
  
Add an extra_requires for requests
## Code Before:
from distutils.core import setup

setup(
    name = "linode-python",
    version = "1.1",
    description = "Python bindings for Linode API",
    author = "TJ Fontaine",
    author_email = "tjfontaine@gmail.com",
    url = "https://github.com/tjfontaine/linode-python",
    packages = ['linode'],
)

## Instruction:
Add an extra_requires for requests
## Code After:
from distutils.core import setup

setup(
    name = "linode-python",
    version = "1.1",
    description = "Python bindings for Linode API",
    author = "TJ Fontaine",
    author_email = "tjfontaine@gmail.com",
    url = "https://github.com/tjfontaine/linode-python",
    packages = ['linode'],
    extras_require = {
        'requests': ["requests"],
    },
)
