1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- import os
- from setuptools import setup
- from coderedcms import __version__
- with open(
- os.path.join(os.path.dirname(__file__), "README.md"), encoding="utf8"
- ) as readme:
- README = readme.read()
- # allow setup.py to be run from any path
- os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
- setup(
- name="coderedcms",
- version=__version__,
- packages=["coderedcms"],
- include_package_data=True,
- license="BSD License",
- description="Wagtail-based CMS by CodeRed for building marketing websites.",
- long_description=README,
- long_description_content_type="text/markdown",
- url="https://github.com/coderedcorp/coderedcms",
- author="CodeRed LLC",
- author_email="info@coderedcorp.com",
- classifiers=[
- "Environment :: Web Environment",
- "Framework :: Django",
- "Intended Audience :: Developers",
- "Operating System :: OS Independent",
- "Programming Language :: Python",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.7",
- "Programming Language :: Python :: 3.8",
- "Programming Language :: Python :: 3.9",
- "Programming Language :: Python :: 3.10",
- "Programming Language :: Python :: 3 :: Only",
- "Framework :: Django",
- "Framework :: Django :: 3.2",
- "Framework :: Django :: 4.0",
- "Framework :: Wagtail",
- "Framework :: Wagtail :: 2",
- "Topic :: Internet :: WWW/HTTP",
- "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
- "Topic :: Internet :: WWW/HTTP :: Site Management",
- ],
- python_requires=">=3.7",
- install_requires=[
- "beautifulsoup4>=4.8,<4.10", # should be the same as wagtail
- "django-eventtools==1.0.*",
- "django-bootstrap5==21.3",
- "Django>=3.2,<4.1", # should be the same as wagtail
- "geocoder==1.38.*",
- "icalendar==4.1.*",
- "wagtail==3.*",
- "wagtail-cache==2.*",
- "wagtail-seo>=2.2,<3",
- ],
- entry_points={
- "console_scripts": ["coderedcms=coderedcms.bin.coderedcms:main"]
- },
- zip_safe=False,
- )
|