# This file is part of PyArweave.
# 
# PyArweave is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation, either version 2 of the License, or (at your option) any later
# version.
# 
# PyArweave is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License along with
# PyArweave. If not, see <https://www.gnu.org/licenses/>.

from setuptools import setup, find_packages

setup(
  name='PyArweave',
  version='0.6.0',
  description='Tiny Arweave Library',
  author = 'xloem',
  long_description=open('README.md').read(),
  long_description_content_type='text/markdown',
  url='https://github.com/xloem/pyarweave',
  keywords=['arweave', 'crypto'],
  classifiers=[
    'Programming Language :: Python :: 3',
    'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
    'Operating System :: OS Independent',
  ],
  packages = find_packages(),
  install_requires=[ # try to reduce these
    'arrow', # used only in transaction_uploader.py for some timing thing
    'python-jose', # for jwk parsing: note use of jwk is very simple, likely this is unneeded
    'pycryptodome', # core crypto backend
    'requests', # core network backend
    'erlang_py', # for decoding some rare binary peer data
    #'git+https://github.com/jtgrassie/pyrx', # for block validation, could be made optional if there is a trusted node
    # note: pyrx is only available via git url; RandomX is on pypi
  ],
)
