setup.py 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. import os
  2. from setuptools import setup
  3. from coderedcms import __version__
  4. with open(
  5. os.path.join(os.path.dirname(__file__), "README.md"), encoding="utf8"
  6. ) as readme:
  7. README = readme.read()
  8. # allow setup.py to be run from any path
  9. os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  10. setup(
  11. name="coderedcms",
  12. version=__version__,
  13. packages=["coderedcms"],
  14. include_package_data=True,
  15. license="BSD License",
  16. description="Wagtail-based CMS by CodeRed for building marketing websites.",
  17. long_description=README,
  18. long_description_content_type="text/markdown",
  19. url="https://github.com/coderedcorp/coderedcms",
  20. author="CodeRed LLC",
  21. author_email="info@coderedcorp.com",
  22. classifiers=[
  23. "Environment :: Web Environment",
  24. "Framework :: Django",
  25. "Intended Audience :: Developers",
  26. "Operating System :: OS Independent",
  27. "Programming Language :: Python",
  28. "Programming Language :: Python :: 3",
  29. "Programming Language :: Python :: 3.7",
  30. "Programming Language :: Python :: 3.8",
  31. "Programming Language :: Python :: 3.9",
  32. "Programming Language :: Python :: 3.10",
  33. "Programming Language :: Python :: 3.11",
  34. "Programming Language :: Python :: 3 :: Only",
  35. "Framework :: Django",
  36. "Framework :: Django :: 3.2",
  37. "Framework :: Django :: 4.0",
  38. "Framework :: Django :: 4.1",
  39. "Framework :: Wagtail",
  40. "Framework :: Wagtail :: 4",
  41. "Topic :: Internet :: WWW/HTTP",
  42. "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
  43. "Topic :: Internet :: WWW/HTTP :: Site Management",
  44. ],
  45. python_requires=">=3.7",
  46. install_requires=[
  47. "beautifulsoup4>=4.8,<4.12", # should be the same as wagtail
  48. "django-eventtools==1.0.*",
  49. "django-bootstrap5==22.2",
  50. "Django>=3.2,<4.2", # should be the same as wagtail
  51. "geocoder==1.38.*",
  52. "icalendar==4.1.*",
  53. "wagtail>=4.0,<4.3",
  54. "wagtail-cache>=2.2,<3",
  55. "wagtail-seo>=2.3,<3",
  56. ],
  57. entry_points={
  58. "console_scripts": ["coderedcms=coderedcms.bin.coderedcms:main"]
  59. },
  60. zip_safe=False,
  61. )