# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

setup(name='camplight',
      version='0.3',
      author='Mathias Lafeldt',
      author_email='mathias.lafeldt@gmail.com',
      url='https://github.com/mlafeldt/camplight',
      license='MIT',
      description='Python implementation of the Campfire API',
      long_description=open('README.md').read() + '\n\n' +
                       open('HISTORY.md').read(),
      classifiers=['Development Status :: 4 - Beta',
                   'Intended Audience :: Developers',
                   'Natural Language :: English',
                   'License :: OSI Approved :: MIT License',
                   'Operating System :: OS Independent',
                   'Programming Language :: Python'],
      packages=find_packages(),
      zip_safe=False,
      setup_requires=[],
      install_requires=['requests>=0.12.1'],
      entry_points="""
      # -*- Entry points: -*-
      [console_scripts]
      camplight=camplight.cli:main
      """,
      test_suite='test')

# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
import camplight

setup(name='camplight',
      version=camplight.__version__,
      author='Mathias Lafeldt',
      author_email='mathias.lafeldt@gmail.com',
      url='https://github.com/mlafeldt/camplight',
      license='MIT',
      description='Python implementation of the Campfire API',
      long_description=open('README.md').read() + '\n\n' +
                       open('HISTORY.md').read(),
      classifiers=['Development Status :: 4 - Beta',
                   'Intended Audience :: Developers',
                   'Natural Language :: English',
                   'License :: OSI Approved :: MIT License',
                   'Operating System :: OS Independent',
                   'Programming Language :: Python'],
      packages=find_packages(),
      zip_safe=False,
      setup_requires=[],
      install_requires=['requests>=0.12.1'],
      entry_points="""
      # -*- Entry points: -*-
      [console_scripts]
      camplight=camplight.cli:main
      """,
      test_suite='test')

--- 
+++ 
@@ -1,10 +1,9 @@
 # -*- coding: utf-8 -*-
 
 from setuptools import setup, find_packages
-import camplight
 
 setup(name='camplight',
-      version=camplight.__version__,
+      version='0.3',
       author='Mathias Lafeldt',
       author_email='mathias.lafeldt@gmail.com',
       url='https://github.com/mlafeldt/camplight',
Fix ImportError: No module named requests

setup.py imports camplight which ends up importing requests via camplight.api.  It
does the import before running setup so you cannot install the package
unless you already have requests installed.
