import os
import sys
from setuptools import setup, find_packages


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname), encoding='utf-8').read()

setup_requires = [
    'enum34==1.1.10'
    ]
install_requires = [
    'docassemble==1.4.102',
    'docassemble.base==1.4.102',
    'docassemble.demo==1.4.102',
    "3to2==1.1.1",
    "acme==2.8.0",
    "aiohttp==3.9.2",
    "aiohttp-retry==2.8.3",
    "aiosignal==1.3.1",
    "airtable-python-wrapper==0.15.3",
    "alembic==1.13.1",
    "amqp==5.2.0",
    "anyio==4.2.0",
    "argon2-cffi==23.1.0",
    "argon2-cffi-bindings==21.2.0",
    "asn1crypto==1.5.1",
    "astunparse==1.6.3",
    "async-generator==1.10",
    "async-timeout==4.0.3",
    "atomicwrites==1.4.1",
    "attrs==23.1.0",
    "azure-common==1.1.28",
    "azure-core==1.29.6",
    "azure-identity==1.15.0",
    "azure-keyvault-secrets==4.7.0",
    "azure-nspkg==3.0.2",
    "azure-storage-blob==12.19.0",
    "Babel==2.14.0",
    "bcrypt==4.1.2",
    "beautifulsoup4==4.12.2",
    "behave==1.2.6",
    "bidict==0.22.1",
    "billiard==4.2.0",
    "bleach==6.1.0",
    "blinker==1.7.0",
    "boto==2.49.0",
    "boto3==1.34.5",
    "botocore==1.34.5",
    "cachetools==5.3.2",
    "cairocffi==1.6.1",
    "CairoSVG==2.7.1",
    "celery==5.4.0rc1",
    "certbot==2.8.0",
    "certbot-apache==2.8.0",
    "certbot-nginx==2.8.0",
    "certifi==2023.11.17",
    "cffi==1.16.0",
    "chardet==5.2.0",
    "charset-normalizer==3.3.2",
    "click==8.1.7",
    "click-didyoumean==0.3.0",
    "click-plugins==1.1.1",
    "click-repl==0.3.0",
    "clicksend-client==5.0.78",
    "colorama==0.4.6",
    "commonmark==0.9.1",
    "ConfigArgParse==1.7",
    "configobj==5.0.8",
    "configparser==6.0.0",
    "convertapi==1.7.0",
    "crayons==0.4.0",
    "cryptography==41.0.7",
    "cssselect2==0.7.0",
    "defusedxml==0.7.1",
    "Deprecated==1.2.14",
    "deprecation==2.1.0",
    "distro==1.8.0",
    "dnspython==2.4.2",
    "docassemble-backports==1.0",
    "Docassemble-Flask-User==0.6.30",
    "Docassemble-Pattern==3.6.7",
    "docassemble-textstat==0.7.2",
    "docassemblekvsession==0.8",
    "docopt==0.6.2",
    "docutils==0.20.1",
    "docxcompose==1.4.0",
    "docxtpl==0.16.7",
    "email-validator==2.1.0.post1",
    "et-xmlfile==1.1.0",
    "eventlet==0.34.1",
    "exceptiongroup==1.2.0",
    "Flask==3.0.0",
    "flask-babel==4.0.0",
    "Flask-Cors==4.0.0",
    "Flask-Login==0.6.3",
    "Flask-Mail==0.9.1",
    "Flask-SocketIO==5.3.6",
    "Flask-SQLAlchemy==3.1.1",
    "Flask-WTF==1.2.1",
    "frozenlist==1.4.1",
    "future==0.18.3",
    "gcs-oauth2-boto-plugin==3.0",
    "geographiclib==2.0",
    "geopy==2.4.1",
    "google-api-core==2.15.0",
    "google-api-python-client==2.111.0",
    "google-auth==2.25.2",
    "google-auth-httplib2==0.2.0",
    "google-auth-oauthlib==1.2.0",
    "google-cloud-core==2.4.1",
    "google-cloud-storage==2.14.0",
    "google-cloud-translate==3.13.0",
    "google-cloud-vision==3.5.0",
    "google-crc32c==1.5.0",
    "google-i18n-address==3.1.0",
    "google-reauth==0.1.1",
    "google-resumable-media==2.7.0",
    "googleapis-common-protos==1.62.0",
    "greenlet==3.0.2",
    "grpcio==1.60.0",
    "grpcio-status==1.60.0",
    "gspread==5.12.3",
    "guess-language-spirit==0.5.3",
    "h11==0.14.0",
    "httpcore==1.0.2",
    "httplib2==0.22.0",
    "humanize==4.9.0",
    "Hyphenate==1.1.0",
    "idna==3.6",
    "img2pdf==0.5.1",
    "importlib-metadata==7.0.0",
    "importlib-resources==6.1.1",
    "iniconfig==2.0.0",
    "iso8601==2.1.0",
    "isodate==0.6.1",
    "itsdangerous==2.1.2",
    "jaraco.classes==3.3.0",
    "jdcal==1.4.1",
    "jeepney==0.8.0",
    "jellyfish==0.11.2",
    "Jinja2==3.1.3",
    "jmespath==1.0.1",
    "joblib==1.3.2",
    "josepy==1.14.0",
    "keyring==24.3.0",
    "kombu==5.3.4",
    "libcst==1.1.0",
    "links-from-link-header==0.1.0",
    "lxml==4.9.4",
    "Mako==1.3.0",
    "Markdown==3.5.1",
    "markdown-it-py==3.0.0",
    "MarkupSafe==2.1.3",
    "mdurl==0.1.2",
    "minio==7.2.0",
    "monotonic==1.6",
    "more-itertools==10.1.0",
    "msal==1.26.0",
    "msal-extensions==1.1.0",
    "msrest==0.7.1",
    "multidict==6.0.4",
    "mypy-extensions==1.0.0",
    "namedentities==1.9.4",
    "netifaces==0.11.0",
    "nh3==0.2.15",
    "nltk==3.8.1",
    "num2words==0.5.13",
    "numpy==1.26.2",
    "oauth2client==4.1.3",
    "oauthlib==3.2.2",
    "openpyxl==3.1.2",
    "ordered-set==4.1.0",
    "outcome==1.3.0.post0",
    "packaging==23.2",
    "pandas==2.1.4",
    "parse==1.20.0",
    "parse-type==0.6.2",
    "parsedatetime==2.6",
    "passlib==1.7.4",
    "pdfminer.six==20221105",
    "phonenumbers==8.13.27",
    "pikepdf==8.10.1",
    "Pillow==10.2.0",
    "pkginfo==1.9.6",
    "pluggy==1.3.0",
    "ply==3.11",
    "portalocker==2.8.2",
    "prompt-toolkit==3.0.43",
    "proto-plus==1.23.0",
    "protobuf==4.25.1",
    "psutil==5.9.7",
    "psycopg2-binary==2.9.9",
    "pyasn1==0.5.1",
    "pyasn1-modules==0.3.0",
    "pycountry==23.12.11",
    "pycparser==2.21",
    "pycryptodome==3.19.1",
    "pycryptodomex==3.19.1",
    "pycurl==7.45.2",
    "Pygments==2.17.2",
    "PyJWT==2.8.0",
    "PyLaTeX==1.4.2",
    "PyNaCl==1.5.0",
    "pyOpenSSL==23.3.0",
    "pyotp==2.9.0",
    "pyparsing==3.1.1",
    "pypng==0.20220715.0",
    "pyRFC3339==1.1",
    "PySocks==1.7.1",
    "pytest==7.4.3",
    "python-augeas==1.1.0",
    "python-dateutil==2.8.2",
    "python-docx==1.1.0",
    "python-dotenv==1.0.0",
    "python-editor==1.0.4",
    "python-engineio==4.8.0",
    "python-http-client==3.3.7",
    "python-ldap==3.4.4",
    "python-socketio==5.10.0",
    "pytz==2023.3.post1",
    "pytz-deprecation-shim==0.1.0.post0",
    "pyu2f==0.1.5",
    "PyYAML==6.0.1",
    "pyzbar==0.1.9",
    "qrcode==7.4.2",
    "rauth==0.7.3",
    "readme-renderer==42.0",
    "redis==5.0.2",
    "regex==2023.10.3",
    "reportlab==4.0.8",
    "repoze.lru==0.7",
    "requests==2.31.0",
    "requests-oauthlib==1.3.1",
    "requests-toolbelt==1.0.0",
    "retry-decorator==1.1.1",
    "rfc3339==6.2",
    "rfc3986==2.0.0",
    "rich==13.7.0",
    "rsa==4.7.2",
    "ruamel.yaml==0.18.5",
    "ruamel.yaml.bytes==0.1.0",
    "ruamel.yaml.clib==0.2.8",
    "ruamel.yaml.string==0.1.1",
    "s3transfer==0.9.0",
    "s4cmd==2.1.0",
    "scikit-learn==1.3.2",
    "scipy==1.11.4",
    "SecretStorage==3.3.3",
    "selenium==4.16.0",
    "sendgrid==6.11.0",
    "simple-websocket==1.0.0",
    "simplekv==0.14.1",
    "six==1.16.0",
    "sniffio==1.3.0",
    "SocksiPy-branch==1.1",
    "sortedcontainers==2.4.0",
    "soupsieve==2.5",
    "SQLAlchemy==2.0.23",
    "starkbank-ecdsa==2.2.0",
    "tailer==0.4.1",
    "telnyx==2.0.0",
    "threadpoolctl==3.2.0",
    "tinycss2==1.2.1",
    "titlecase==2.4.1",
    "toml==0.10.2",
    "tomli==2.0.1",
    "tqdm==4.66.1",
    "trio==0.23.2",
    "trio-websocket==0.11.1",
    "twilio==8.11.0",
    "twine==4.0.2",
    "typing-inspect==0.9.0",
    "typing_extensions==4.9.0",
    "tzdata==2023.3",
    "tzlocal==5.2",
    "ua-parser==0.18.0",
    "uritemplate==4.1.1",
    "urllib3==2.0.7",
    "us==3.1.1",
    "user-agents==2.2.0",
    "uWSGI==2.0.23",
    "vine==5.1.0",
    "wcwidth==0.2.12",
    "webdriver-manager==4.0.1",
    "webencodings==0.5.1",
    "Werkzeug==3.0.1",
    "wrapt==1.16.0",
    "wsproto==1.2.0",
    "WTForms==3.1.1",
    "xfdfgen==0.4",
    "xlrd==2.0.1",
    "XlsxWriter==3.1.9",
    "xlwt==1.3.0",
    "yarl==1.9.4",
    "zipp==3.17.0"
]

setup(name='docassemble.webapp',
      version='1.4.102',
      python_requires='>=3.9',
      description=('The web application components of the docassemble system.'),
      long_description=read("README.md"),
      long_description_content_type='text/markdown',
      author='Jonathan Pyle',
      author_email='jhpyle@gmail.com',
      license='MIT',
      url='https://docassemble.org',
      packages=find_packages(),
      namespace_packages=['docassemble'],
      install_requires=install_requires,
      zip_safe=False,
      package_data={'docassemble.webapp': ['alembic.ini', os.path.join('alembic', '*'), os.path.join('alembic', 'versions', '*'), os.path.join('data', '*.*'), os.path.join('data', 'static', '*.*'), os.path.join('data', 'static', 'favicon', '*.*'), os.path.join('data', 'questions', '*.*'), os.path.join('templates', 'base_templates', '*.html'), os.path.join('templates', 'flask_user', '*.html'), os.path.join('templates', 'flask_user', 'emails', '*.*'), os.path.join('templates', 'pages', '*.html'), os.path.join('templates', 'pages', '*.xml'), os.path.join('templates', 'pages', '*.js'), os.path.join('templates', 'users', '*.html'), os.path.join('static', 'app', '*.*'), os.path.join('static', 'localization', '*.*'), os.path.join('static', 'yamlmixed', '*.*'), os.path.join('static', 'sounds', '*.*'), os.path.join('static', 'examples', '*.*'), os.path.join('static', 'fontawesome', 'js', '*.*'), os.path.join('static', 'office', '*.*'), os.path.join('static', 'bootstrap-fileinput', 'img', '*'), os.path.join('static', 'img', '*'), os.path.join('static', 'bootstrap-fileinput', 'themes', 'fas', '*'), os.path.join('static', 'bootstrap-fileinput', 'js', 'locales', '*'), os.path.join('static', 'bootstrap-fileinput', 'js', 'plugins', '*'), os.path.join('static', 'bootstrap-slider', 'dist', '*.js'), os.path.join('static', 'bootstrap-slider', 'dist', 'css', '*.css'), os.path.join('static', 'bootstrap-fileinput', 'css', '*.css'), os.path.join('static', 'bootstrap-fileinput', 'js', '*.js'), os.path.join('static', 'bootstrap-fileinput', 'themes', 'fa', '*.js'), os.path.join('static', 'bootstrap-fileinput', 'themes', 'fas', '*.js'), os.path.join('static', 'bootstrap-combobox', 'css', '*.css'), os.path.join('static', 'bootstrap-combobox', 'js', '*.js'), os.path.join('static', 'bootstrap-fileinput', '*.md'), os.path.join('static', 'bootstrap', 'js', '*.*'), os.path.join('static', 'bootstrap', 'css', '*.*'), os.path.join('static', 'labelauty', 'source', '*.*'), os.path.join('static', 'codemirror', 'lib', '*.*'), os.path.join('static', 'codemirror', 'addon', 'search', '*.*'), os.path.join('static', 'codemirror', 'addon', 'display', '*.*'), os.path.join('static', 'codemirror', 'addon', 'scroll', '*.*'), os.path.join('static', 'codemirror', 'addon', 'dialog', '*.*'), os.path.join('static', 'codemirror', 'addon', 'edit', '*.*'), os.path.join('static', 'codemirror', 'addon', 'hint', '*.*'), os.path.join('static', 'codemirror', 'mode', 'yaml', '*.*'), os.path.join('static', 'codemirror', 'mode', 'markdown', '*.*'), os.path.join('static', 'codemirror', 'mode', 'javascript', '*.*'), os.path.join('static', 'codemirror', 'mode', 'css', '*.*'), os.path.join('static', 'codemirror', 'mode', 'python', '*.*'), os.path.join('static', 'codemirror', 'mode', 'htmlmixed', '*.*'), os.path.join('static', 'codemirror', 'mode', 'xml', '*.*'), os.path.join('static', 'codemirror', 'keymap', '*.*'), os.path.join('static', 'areyousure', '*.js'), os.path.join('static', 'popper', '*.*'), os.path.join('static', 'popper', 'umd', '*.*'), os.path.join('static', 'popper', 'esm', '*.*'), os.path.join('static', '*.html')]}
      )
