setup.py 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 :: Only",
  34. "Framework :: Django",
  35. "Framework :: Django :: 3.2",
  36. "Framework :: Django :: 4.0",
  37. "Framework :: Wagtail",
  38. "Framework :: Wagtail :: 2",
  39. "Topic :: Internet :: WWW/HTTP",
  40. "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
  41. "Topic :: Internet :: WWW/HTTP :: Site Management",
  42. ],
  43. python_requires=">=3.7",
  44. install_requires=[
  45. "beautifulsoup4>=4.8,<4.10", # should be the same as wagtail
  46. "django-eventtools==1.0.*",
  47. "django-bootstrap5==21.3",
  48. "Django>=3.2,<4.1", # should be the same as wagtail
  49. "geocoder==1.38.*",
  50. "icalendar==4.1.*",
  51. "wagtail==3.*",
  52. "wagtail-cache==2.*",
  53. "wagtail-seo>=2.2,<3",
  54. ],
  55. entry_points={
  56. "console_scripts": ["coderedcms=coderedcms.bin.coderedcms:main"]
  57. },
  58. zip_safe=False,
  59. )