summaryrefslogtreecommitdiff
path: root/setup.py
blob: aaa9320998b51aafe138bcb3f7459e8b44869e93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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",
)