import setuptools import os, shutil from pathlib import Path from appdirs import user_data_dir # copy templates, data storage and default config data_dir = user_data_dir("utab") try: shutil.copytree("utab/data/", data_dir) except FileExistsError: pass # do not overwrite existent data with open("README.md", "r") as f: long_description = f.read() f.close() setuptools.setup( name="utab", # Replace with your own username version="0.3.0", author="Frederick Yin", author_email="fkfd@macaw.me", description="Web browser new tab dashboard HTTP daemon", long_description=long_description, long_description_content_type="text/markdown", url="https://git.sr.ht/~fkfd/utab", packages=setuptools.find_packages(), install_requires=["flask>=1.1.2", "beautifulsoup4>=4.3.2", "requests>=2.1.0"], classifiers=[ "Programming Language :: Python :: 3", "License :: Public Domain", "Operating System :: OS Independent", ], python_requires=">=3.6", )