setup.py 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. import os
  2. from setuptools import find_packages, setup
  3. from coderedcms import __version__
  4. with open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding='utf8') as readme:
  5. README = readme.read()
  6. # allow setup.py to be run from any path
  7. os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  8. setup(
  9. name='coderedcms',
  10. version=__version__,
  11. packages=find_packages(),
  12. include_package_data=True,
  13. license='BSD License',
  14. description='Wagtail-based CMS by CodeRed for building marketing websites.',
  15. long_description=README,
  16. long_description_content_type='text/markdown',
  17. url='https://github.com/coderedcorp/coderedcms',
  18. author='CodeRed LLC',
  19. author_email='info@coderedcorp.com',
  20. classifiers=[
  21. 'Environment :: Web Environment',
  22. 'Framework :: Django',
  23. 'Intended Audience :: Developers',
  24. 'Operating System :: OS Independent',
  25. 'Programming Language :: Python',
  26. 'Programming Language :: Python :: 3',
  27. 'Programming Language :: Python :: 3.4',
  28. 'Programming Language :: Python :: 3.5',
  29. 'Programming Language :: Python :: 3.6',
  30. 'Programming Language :: Python :: 3 :: Only',
  31. 'Framework :: Django',
  32. 'Framework :: Django :: 2.0',
  33. 'Framework :: Wagtail',
  34. 'Framework :: Wagtail :: 2',
  35. 'Topic :: Internet :: WWW/HTTP',
  36. 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
  37. 'Topic :: Internet :: WWW/HTTP :: Site Management',
  38. ],
  39. install_requires=[
  40. "beautifulsoup4>=4.5.1,<4.6.1",
  41. 'django-eventtools==0.9.*',
  42. 'django-bootstrap4',
  43. 'django>=2.0,<2.2',
  44. 'geocoder>=1.38.1,<2.0',
  45. 'icalendar==4.0.*',
  46. 'wagtail==2.4.*',
  47. 'wagtailfontawesome>=1.1.3,<2.0',
  48. 'wagtail-cache==0.5.*',
  49. 'wagtail-import-export>=0.1,<0.2'
  50. ],
  51. extras_require={
  52. 'dev': [
  53. 'pylint-django',
  54. 'sphinx',
  55. 'twine',
  56. 'wheel'
  57. ]
  58. },
  59. entry_points="""
  60. [console_scripts]
  61. coderedcms=coderedcms.bin.coderedcms:main
  62. """,
  63. zip_safe=False,
  64. )