# python setup.py --dry-run --verbose install

import os.path
from setuptools import setup, find_packages

from distutils.core import setup

setup(
    name='medashare',
    version='0.1.0',
    author='John-Mark Gurney',
    author_email='jmg@funkthat.com',
    packages=find_packages(),
    #url='',
    license='BSD',
    description='File Metadata sharing, query and storing utility.',
    #download_url='',
    long_description=open('README.md').read(),
    python_requires='>=3.8',
    install_requires=[
	'base58',
	'cryptography',
        'databases[sqlite]',
        'fastapi',
        'fastapi_restful',
        'httpx',
        'hypercorn', # option, for server only?
        'orm',
	'pasn1 @ git+https://www.funkthat.com/gitea/jmg/pasn1.git@c6c64510b42292557ace2b77272eb32cb647399d#egg=pasn1',
        'pydantic[dotenv]',
    ],
    extras_require = {
	# requests needed for fastpi.testclient.TestClient
        'dev': [ 'coverage', 'requests' ],
    },
    entry_points={
        'console_scripts': [
            'medashare = medashare.cli:main',
        ]
    }
)