setup.py 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. import os
  2. from pkg_resources import parse_requirements
  3. from setuptools import setup
  4. MY_DIR = os.path.dirname(__file__)
  5. LONG_DESC = open(os.path.join(MY_DIR, 'README.rst')).read()
  6. req_fh = open(os.path.join(MY_DIR, 'requirements.txt'))
  7. install_requirements = [str(r) for r in parse_requirements(req_fh)]
  8. req_fh.close()
  9. setup(name='scrapy-kafka',
  10. version='0.1.1',
  11. description='Kafka-based components for Scrapy',
  12. long_description=LONG_DESC,
  13. author='Didier Deshommes',
  14. author_email='dfdeshom@gmail.com',
  15. url='https://github.com/dfdeshom/scrapy-kafka',
  16. packages=['scrapy_kafka'],
  17. license='BSD',
  18. install_requires=install_requirements,
  19. extras_require={
  20. "docs": ['sphinx'],
  21. },
  22. dependency_links=[
  23. 'https://github.com/mumrah/kafka-python/archive/v0.9.1.tar.gz#egg=kafka-python-0.9.1',
  24. ],
  25. classifiers=[
  26. 'Programming Language :: Python',
  27. 'Development Status :: 4 - Beta',
  28. 'Intended Audience :: Developers',
  29. ])