setup.py 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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 :: Only',
  31. 'Framework :: Django',
  32. 'Framework :: Django :: 2.0',
  33. 'Framework :: Django :: 2.1',
  34. 'Framework :: Django :: 2.2',
  35. 'Framework :: Wagtail',
  36. 'Framework :: Wagtail :: 2',
  37. 'Topic :: Internet :: WWW/HTTP',
  38. 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
  39. 'Topic :: Internet :: WWW/HTTP :: Site Management',
  40. ],
  41. install_requires=[
  42. 'beautifulsoup4>=4.5.1,<4.6.1',
  43. 'django-eventtools==0.9.*',
  44. 'django-bootstrap4',
  45. 'Django>=2.0,<2.3',
  46. 'geocoder>=1.38.1,<2.0',
  47. 'icalendar==4.0.*',
  48. 'wagtail==2.6.*',
  49. 'wagtailfontawesome>=1.1.4,<2.0',
  50. 'wagtail-cache==0.5.*',
  51. 'wagtail-import-export>=0.2,<0.3'
  52. ],
  53. extras_require={
  54. "ci": [
  55. "flake8",
  56. "pytest-cov",
  57. "pytest-django",
  58. "sphinx"
  59. ],
  60. "dev": [
  61. "flake8",
  62. "libsass",
  63. "pytest-cov",
  64. "pytest-django",
  65. "sphinx",
  66. "twine",
  67. "wheel",
  68. ],
  69. },
  70. entry_points="""
  71. [console_scripts]
  72. coderedcms=coderedcms.bin.coderedcms:main
  73. """,
  74. zip_safe=False,
  75. )