2
0

setup.py 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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.8",
  30. "Programming Language :: Python :: 3.9",
  31. "Programming Language :: Python :: 3.10",
  32. "Programming Language :: Python :: 3.11",
  33. "Programming Language :: Python :: 3 :: Only",
  34. "Framework :: Django",
  35. "Framework :: Django :: 4.1",
  36. "Framework :: Django :: 4.2",
  37. "Framework :: Django :: 5.0",
  38. "Framework :: Wagtail",
  39. "Framework :: Wagtail :: 5",
  40. "Topic :: Internet :: WWW/HTTP",
  41. "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
  42. "Topic :: Internet :: WWW/HTTP :: Site Management",
  43. ],
  44. python_requires=">=3.8",
  45. install_requires=[
  46. "beautifulsoup4>=4.8,<4.12", # should be the same as wagtail
  47. "django-eventtools==1.0.*",
  48. "django-bootstrap5==23.3",
  49. "Django>=4.1,<5.1", # should be the same as wagtail
  50. "geocoder==1.38.*",
  51. "icalendar==5.0.*",
  52. "wagtail>=5.0,<6.0",
  53. "wagtail-cache>=2.3,<3",
  54. "wagtail-seo>=2.4,<3",
  55. ],
  56. entry_points={
  57. "console_scripts": ["coderedcms=coderedcms.bin.coderedcms:main"]
  58. },
  59. zip_safe=False,
  60. )