setup.py 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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.5',
  28. 'Programming Language :: Python :: 3.6',
  29. 'Programming Language :: Python :: 3.7',
  30. 'Programming Language :: Python :: 3.8',
  31. 'Programming Language :: Python :: 3 :: Only',
  32. 'Framework :: Django',
  33. 'Framework :: Django :: 2.1',
  34. 'Framework :: Django :: 2.2',
  35. 'Framework :: Django :: 3.0',
  36. 'Framework :: Wagtail',
  37. 'Framework :: Wagtail :: 2',
  38. 'Topic :: Internet :: WWW/HTTP',
  39. 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
  40. 'Topic :: Internet :: WWW/HTTP :: Site Management',
  41. ],
  42. install_requires=[
  43. 'beautifulsoup4>=4.5.1,<4.6.1', # should be the same as wagtail
  44. 'django-eventtools==1.0.*',
  45. 'django-bootstrap4',
  46. 'Django>2.1,<3.1', # should be the same as wagtail
  47. 'django-taggit<1.3',
  48. 'geocoder>=1.38.1,<2.0',
  49. 'icalendar==4.0.*',
  50. 'wagtail==2.8.*',
  51. 'wagtailfontawesome>=1.1.4,<2.0',
  52. 'wagtail-cache==1.*',
  53. 'wagtail-import-export>=0.2,<0.3'
  54. ],
  55. extras_require={
  56. "ci": [
  57. "flake8",
  58. "pytest-cov",
  59. "pytest-django",
  60. "sphinx"
  61. ],
  62. "dev": [
  63. "flake8",
  64. "libsass",
  65. "pytest-cov",
  66. "pytest-django",
  67. "sphinx",
  68. "twine",
  69. "wheel",
  70. ],
  71. },
  72. entry_points="""
  73. [console_scripts]
  74. coderedcms=coderedcms.bin.coderedcms:main
  75. """,
  76. zip_safe=False,
  77. )