2
0

setup.py 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. import os
  2. from setuptools import setup
  3. from wagtailcrx 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='wagtailcrx',
  10. version=__version__,
  11. packages=['wagtailcrx'],
  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/wagtailcrx',
  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.7',
  28. 'Programming Language :: Python :: 3.8',
  29. 'Programming Language :: Python :: 3.9',
  30. 'Programming Language :: Python :: 3.10',
  31. 'Programming Language :: Python :: 3 :: Only',
  32. 'Framework :: Django',
  33. 'Framework :: Django :: 3.2',
  34. 'Framework :: Django :: 4.0',
  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. python_requires='>=3.7',
  42. install_requires=[
  43. 'beautifulsoup4>=4.8,<4.10', # should be the same as wagtail
  44. 'django-eventtools==1.0.*',
  45. 'django-bootstrap4==22.1',
  46. 'Django>=3.2,<4.1', # should be the same as wagtail
  47. 'geocoder==1.38.*',
  48. 'icalendar==4.1.*',
  49. 'wagtail==3.*',
  50. 'wagtail-cache==2.*',
  51. 'wagtail-seo==2.*',
  52. ],
  53. entry_points={
  54. "console_scripts": [
  55. "wagtailcrx=wagtailcrx.bin.wagtailcrx:main"
  56. ]
  57. },
  58. zip_safe=False,
  59. )