from setuptools import setup, find_packages
import os


directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(directory, 'README.md'), encoding='utf-8') as f:
    long_description = f.read()

setup(name='flaxmodels',
      version='0.1.2',
      url='https://github.com/matthias-wright/flaxmodels',
      author='Matthias Wright',
      packages=find_packages(),
      install_requires=['h5py>=2.10.0',
                        'numpy>=1.19.5',
                        'requests>=2.23.0',
                        'packaging>=20.9',
                        'dataclasses>=0.6',
                        'filelock>=3.0.12',
                        'jax>=0.3',
                        'jaxlib',
                        'flax>=0.4.0',
                        'Pillow>=7.1.2',
                        'regex>=2021.4.4',
                        'tqdm>=4.60.0'],
      extras_require={
        'testing': ['pytest'],
      },
      python_requires='>=3.6',
      license='Each model has an individual license.',
      description='A collection of pretrained models in Flax.',
      long_description=long_description,
      long_description_content_type='text/markdown')
